Fix transparency (#14010)

Release Notes:

- (preview only) Fix transparent themes
This commit is contained in:
Conrad Irwin 2024-07-09 12:11:18 -06:00 committed by GitHub
parent 3cdd465226
commit 8cfa690271
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 3 deletions

View file

@ -50,7 +50,11 @@ impl Render for StatusBar {
})
.when(!(tiling.bottom || tiling.left), |el| {
el.rounded_bl(CLIENT_SIDE_DECORATION_ROUNDING)
}),
})
// This border is to avoid a transparent gap in the rounded corners
.mb(px(-1.))
.border_b(px(1.0))
.border_color(cx.theme().colors().status_bar_background),
})
.child(self.render_left_tools(cx))
.child(self.render_right_tools(cx))