From b55a19f85945241934acc961afed8dfdcba836f1 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Fri, 17 Mar 2023 21:07:25 -0700 Subject: [PATCH] make the planner panel un-minimizable again --- plugins/lua/buildingplan/planneroverlay.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lua/buildingplan/planneroverlay.lua b/plugins/lua/buildingplan/planneroverlay.lua index 19f17ea62..a60b2ebcd 100644 --- a/plugins/lua/buildingplan/planneroverlay.lua +++ b/plugins/lua/buildingplan/planneroverlay.lua @@ -603,10 +603,10 @@ function PlannerOverlay:onInput(keys) self.minimized = not self.minimized return true end - if self.minimized then return false end if PlannerOverlay.super.onInput(self, keys) then return true end + if self.minimized then return false end if keys._MOUSE_L_DOWN then if is_over_options_panel() then return false end local detect_rect = copyall(self.frame_rect)