Skip to content

Commit dc3836e

Browse files
committed
gui/mass-remove.toolbar: adopt one column gap
1 parent 63028e4 commit dc3836e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gui/mass-remove.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,8 @@ local MR_HEIGHT = MR_TOOLTIP_HEIGHT + 1 --[[empty line]] + MR_BUTTON_HEIGHT
431431
local function mass_remove_button_offsets(interface_rect)
432432
local remove_buttons = tb.fort.center:secondary_toolbar_frame(interface_rect, 'erase')
433433
return {
434-
l = remove_buttons.l + remove_buttons.w,
435-
r = remove_buttons.r - MR_BUTTON_WIDTH,
434+
l = remove_buttons.l + remove_buttons.w + 1, -- one "gap column" past the end of erase tools
435+
r = remove_buttons.r - 1 - MR_BUTTON_WIDTH, -- leave room for the gap and our button
436436
t = remove_buttons.t,
437437
b = remove_buttons.b,
438438
}

0 commit comments

Comments
 (0)