chore: Rebase Iced

This commit is contained in:
Michael Aaron Murphy 2022-12-19 17:03:13 +01:00
parent 50b8131e21
commit 6e30394270
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
4 changed files with 11 additions and 15 deletions

View file

@ -66,8 +66,9 @@ impl<'a, Message: Clone + 'static> HeaderBar<'a, Message> {
let mut widget = widget::row(packed)
.height(Length::Units(50))
.padding(10)
.apply(widget::event_container)
.center_y();
.apply(widget::container)
.center_y()
.apply(widget::mouse_listener);
if let Some(message) = self.on_drag.clone() {
widget = widget.on_press(message);