forge
Explore
Log in

Don't you dare go Hollow

floating: Remove TODO on tile removing width

Browse files at this commit

baf78ccda28b2a8992ba1ae3739d166167c9ee5fIvan MolodetskikhParent: 31f0e66
src/layout/floating.rsmodified+1 -2
@@ -507,10 +507,9 @@ impl<W: LayoutElement> FloatingSpace<W> {
507507 // Store the floating position.
508508 tile.floating_pos = Some(data.pos);
509509
510- let width = ColumnWidth::Fixed(tile.window_size().w);
510+ let width = ColumnWidth::Fixed(tile.window_expected_or_current_size().w);
511511 RemovedTile {
512512 tile,
513- // TODO
514513 width,
515514 is_full_width: false,
516515 is_floating: true,