aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/layout/scrolling.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/scrolling.rs b/src/layout/scrolling.rs
index 417def6a..55acd53b 100644
--- a/src/layout/scrolling.rs
+++ b/src/layout/scrolling.rs
@@ -2541,7 +2541,7 @@ impl<W: LayoutElement> ScrollingSpace<W> {
// on screen while taking into account that the active column will remain centered
// after resizing. But I'm not sure it's that useful? So let's do the simple thing.
let col = &mut self.columns[self.active_column_idx];
- col.set_column_width(SizeChange::SetProportion(1.), None, true);
+ col.toggle_full_width();
cancel_resize_for_column(&mut self.interactive_resize, col);
return;
}