diff --git a/src/app.rs b/src/app.rs index f01c6f9..9438519 100644 --- a/src/app.rs +++ b/src/app.rs @@ -313,6 +313,9 @@ impl App { pub fn toggle_visible(&mut self) { let mut inner = self.inner.lock().unwrap(); inner.visible = !inner.visible; + if !inner.visible { + self.last_dim = (0, 0); + } inner.outputs_changed(); }