layout/floating: Fix resetting preset width idx instead of height

This commit is contained in:
Ivan Molodetskikh
2025-08-29 08:32:34 +03:00
parent 0c3223ac72
commit dfe463ed7d

View File

@@ -790,7 +790,7 @@ impl<W: LayoutElement> FloatingSpace<W> {
let idx = self.idx_of(id).unwrap();
let tile = &mut self.tiles[idx];
tile.floating_preset_width_idx = None;
tile.floating_preset_height_idx = None;
let available_size = self.working_area.size.h;
let win = tile.window();