Skip to content

Commit 3d5f180

Browse files
committed
gui/mass-remove.toolbar: fix toolbars library use
Oops, I moved the toolbar definitions into the "fort" namespace at the last minute and forget to update the non-demo user...
1 parent 9c54dac commit 3d5f180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/mass-remove.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ local MR_WIDTH = math.max(MR_BUTTON_WIDTH, MR_TOOLTIP_WIDTH)
422422
local MR_HEIGHT = MR_TOOLTIP_HEIGHT + 1 --[[empty line]] + MR_BUTTON_HEIGHT
423423

424424
local function mass_remove_button_offsets(interface_rect)
425-
local remove_buttons = tb.CENTER_TOOLBAR:secondary_toolbar_frame(interface_rect, 'erase')
425+
local remove_buttons = tb.fort.center:secondary_toolbar_frame(interface_rect, 'erase')
426426
return {
427427
l = remove_buttons.l + remove_buttons.w,
428428
r = remove_buttons.r - MR_BUTTON_WIDTH,

0 commit comments

Comments
 (0)