move the minimize button, not the window

develop
Myk Taylor 2023-06-14 16:06:00 -07:00
parent b97ad55a98
commit 8a3b01a261
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 2 additions and 2 deletions

@ -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,