fix: sharp corners & window state handling
This commit is contained in:
parent
27f591e5aa
commit
03f07d2f1e
5 changed files with 56 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue