From 8a3b01a261b353dba0cd5a740cc7f8ab12731538 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Wed, 14 Jun 2023 16:06:00 -0700 Subject: [PATCH] move the minimize button, not the window --- plugins/lua/stockpiles.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/lua/stockpiles.lua b/plugins/lua/stockpiles.lua index 229e69f7b..4707c97ad 100644 --- a/plugins/lua/stockpiles.lua +++ b/plugins/lua/stockpiles.lua @@ -355,7 +355,7 @@ end StockpilesOverlay = defclass(StockpilesOverlay, overlay.OverlayWidget) StockpilesOverlay.ATTRS{ - default_pos={x=16, y=-6}, + default_pos={x=24, y=-6}, default_enabled=true, viewscreens='dwarfmode/Some/Stockpile', frame={w=65, h=4}, @@ -441,7 +441,7 @@ function StockpilesOverlay:init() self:addviews{ main_panel, MinimizeButton{ - frame={t=0, r=1}, + frame={t=0, r=9}, get_minimized_fn=function() return self.minimized end,