We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63028e4 commit dc3836eCopy full SHA for dc3836e
gui/mass-remove.lua
@@ -431,8 +431,8 @@ local MR_HEIGHT = MR_TOOLTIP_HEIGHT + 1 --[[empty line]] + MR_BUTTON_HEIGHT
431
local function mass_remove_button_offsets(interface_rect)
432
local remove_buttons = tb.fort.center:secondary_toolbar_frame(interface_rect, 'erase')
433
return {
434
- l = remove_buttons.l + remove_buttons.w,
435
- r = remove_buttons.r - MR_BUTTON_WIDTH,
+ l = remove_buttons.l + remove_buttons.w + 1, -- one "gap column" past the end of erase tools
+ r = remove_buttons.r - 1 - MR_BUTTON_WIDTH, -- leave room for the gap and our button
436
t = remove_buttons.t,
437
b = remove_buttons.b,
438
}
0 commit comments