layout/tile: Fade out border for fullscreen

This commit is contained in:
Ivan Molodetskikh
2025-10-13 13:23:29 +03:00
parent 4cb4d0fa92
commit e420bb5ad7
+2 -3
View File
@@ -410,8 +410,7 @@ impl<W: LayoutElement> Tile<W> {
let draw_border_with_background = rules
.draw_border_with_background
.unwrap_or_else(|| !self.window.has_ssd())
&& fullscreen_progress < 1.;
.unwrap_or_else(|| !self.window.has_ssd());
let border_width = self.visual_border_width().unwrap_or(0.);
// Do the inverse of tile_size() in order to handle the unfullscreen animation for windows
@@ -438,7 +437,7 @@ impl<W: LayoutElement> Tile<W> {
),
radius,
self.scale,
1.,
1. - fullscreen_progress as f32,
);
let radius = if self.visual_border_width().is_some() {