diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-13 18:05:56 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-13 18:05:56 +0400 |
| commit | 1336a581a622e497e2bdbf46a3763cd7656fa033 (patch) | |
| tree | bc2a05d53c439497fa08def35fd4a7e6c028b761 /src | |
| parent | 8b0dc1902c251569fe710b87c4a74b46c536272d (diff) | |
| download | niri-1336a581a622e497e2bdbf46a3763cd7656fa033.tar.gz niri-1336a581a622e497e2bdbf46a3763cd7656fa033.tar.bz2 niri-1336a581a622e497e2bdbf46a3763cd7656fa033.zip | |
tile: Fix returned snapshot size
Diffstat (limited to 'src')
| -rw-r--r-- | src/layout/tile.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/tile.rs b/src/layout/tile.rs index 86082f74..8de478c0 100644 --- a/src/layout/tile.rs +++ b/src/layout/tile.rs @@ -706,7 +706,7 @@ impl<W: LayoutElement> Tile<W> { snapshot.blocked_out_contents, ), block_out_from: snapshot.block_out_from, - size: snapshot.size, + size: self.animated_tile_size(), texture: Default::default(), blocked_out_texture: Default::default(), }) |
