refresh the overlay state when toggling minimize

since the items may have changed
develop
Myk Taylor 2023-10-15 20:12:45 -07:00
parent dffe3bd462
commit 45d585cabd
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

@ -66,6 +66,7 @@ Template for new versions:
## Fixes ## Fixes
- `buildingplan`: remove bars of ash, coal, and soap as valid building materials to match v50 rules - `buildingplan`: remove bars of ash, coal, and soap as valid building materials to match v50 rules
- `buildingplan`: fix incorrect required items being displayed sometimes when switching the planner overlay on and off
- `zone`: races without specific child or baby names will now get generic child/baby names instead of an empty string - `zone`: races without specific child or baby names will now get generic child/baby names instead of an empty string
- `zone`: don't show animal assignment link for cages and restraints linked to dungeon zones (which aren't normally assignable) - `zone`: don't show animal assignment link for cages and restraints linked to dungeon zones (which aren't normally assignable)
- `sort`: don't count mercenaries as appointed officials in the squad assignment screen - `sort`: don't count mercenaries as appointed officials in the squad assignment screen

@ -652,6 +652,7 @@ end
function PlannerOverlay:toggle_minimized() function PlannerOverlay:toggle_minimized()
self.state.minimized = not self.state.minimized self.state.minimized = not self.state.minimized
config:write() config:write()
self:reset()
end end
function PlannerOverlay:draw_divider_h(dc) function PlannerOverlay:draw_divider_h(dc)