forge
Explore
Log in

Don't you dare go Hollow

Fix width shrinking when going from floating to scrolling

Browse files at this commit

08fb9435fda1b5109d8414b6aaec980ab4068148Ivan MolodetskikhParent: 793e92e
src/layout/floating.rsmodified+1 -1
@@ -501,7 +501,7 @@ impl<W: LayoutElement> FloatingSpace<W> {
501 // Store the floating position.501 // Store the floating position.
502 tile.floating_pos = Some(data.pos);502 tile.floating_pos = Some(data.pos);
503 503
504- let width = ColumnWidth::Fixed(tile.window_expected_or_current_size().w);504+ let width = ColumnWidth::Fixed(tile.tile_expected_or_current_size().w);
505 RemovedTile {505 RemovedTile {
506 tile,506 tile,
507 width,507 width,