Update layout immediately when adjusting properties panel width

This commit is contained in:
Sam 2025-11-08 20:17:37 -06:00
parent 6d5ea1ae10
commit 849a39a528

View File

@ -600,6 +600,7 @@ class HUD:
if self.properties_width < VIZ_RIGHT_MARGIN + 50: if self.properties_width < VIZ_RIGHT_MARGIN + 50:
self.properties_width = VIZ_RIGHT_MARGIN + 50 # Ensure properties panel is wide enough for tooltip self.properties_width = VIZ_RIGHT_MARGIN + 50 # Ensure properties panel is wide enough for tooltip
self.update_layout(self.screen_width, self.screen_height) # Immediately update layout
if not hasattr(cell, 'behavioral_model'): if not hasattr(cell, 'behavioral_model'):
return return