Skip to content

Commit

Permalink
#155 Add margin to total width in centrate_nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Insality committed Jan 27, 2022
1 parent f534baf commit 97e7631
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions druid/helper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ function M.centrate_nodes(margin, ...)
node_widths[i] = get_width(node)
width = width + node_widths[i]
end
width = width + margin * (count - 1)

-- Posing all elements
local pos_x = 0
Expand Down

0 comments on commit 97e7631

Please sign in to comment.