diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-08-16 20:29:57 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-08-16 20:29:57 +0400 |
| commit | 78090e1140b99d245c6932d10e084e7f11d34083 (patch) | |
| tree | ddf3b6df17f268bd5c00b705b62b0ca532268625 /src/layout.rs | |
| parent | 99533bdaf62e44b766681ece33e0ae1387a718e1 (diff) | |
| download | niri-78090e1140b99d245c6932d10e084e7f11d34083.tar.gz niri-78090e1140b99d245c6932d10e084e7f11d34083.tar.bz2 niri-78090e1140b99d245c6932d10e084e7f11d34083.zip | |
Remove some commented out code
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() } |
