diff --git a/crates/ui/src/resizable/panel.rs b/crates/ui/src/resizable/panel.rs index f47a7106..99a7e285 100644 --- a/crates/ui/src/resizable/panel.rs +++ b/crates/ui/src/resizable/panel.rs @@ -338,6 +338,7 @@ impl ResizablePanel { fn update_size(&mut self, bounds: Bounds, cx: &mut ViewContext) { let new_size = bounds.size.along(self.axis); self.bounds = bounds; + self.size_ratio = None; self.size = Some(new_size); let entity_id = cx.view().entity_id();