diff options
Diffstat (limited to 'src/layout.rs')
| -rw-r--r-- | src/layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout.rs b/src/layout.rs index d47ff1be..fbb0e801 100644 --- a/src/layout.rs +++ b/src/layout.rs @@ -1847,7 +1847,7 @@ impl<W: LayoutElement> Column<W> { fn toggle_full_width(&mut self, view_size: Size<i32, Logical>) { let width = match self.width { - ColumnWidth::Proportion(1.) => { + ColumnWidth::Proportion(x) if x == 1. => { // FIXME: would be good to restore to previous width here. ColumnWidth::default() } |
