make the planner panel un-minimizable again

develop
Myk Taylor 2023-03-17 21:07:25 -07:00
parent 460ce88998
commit b55a19f859
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -603,10 +603,10 @@ function PlannerOverlay:onInput(keys)
self.minimized = not self.minimized self.minimized = not self.minimized
return true return true
end end
if self.minimized then return false end
if PlannerOverlay.super.onInput(self, keys) then if PlannerOverlay.super.onInput(self, keys) then
return true return true
end end
if self.minimized then return false end
if keys._MOUSE_L_DOWN then if keys._MOUSE_L_DOWN then
if is_over_options_panel() then return false end if is_over_options_panel() then return false end
local detect_rect = copyall(self.frame_rect) local detect_rect = copyall(self.frame_rect)