fix: sharp corners & window state handling

This commit is contained in:
Ashley Wulber 2025-09-25 15:41:16 -04:00 committed by Ashley Wulber
parent 27f591e5aa
commit 03f07d2f1e
5 changed files with 56 additions and 9 deletions

View file

@ -409,6 +409,7 @@ impl<'a, Message: Clone + 'static> HeaderBar<'a, Message> {
.apply(widget::container)
.class(crate::theme::Container::HeaderBar {
focused: self.focused,
sharp_corners: self.maximized,
})
.center_y(Length::Shrink)
.apply(widget::mouse_area);