Update layout immediately when adjusting properties panel width
This commit is contained in:
parent
6d5ea1ae10
commit
849a39a528
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user