Use press event on gallery header instead of drag event to start window drag, fixes #537
This commit is contained in:
parent
959d7e2c49
commit
fac5a25a3f
1 changed files with 1 additions and 1 deletions
|
|
@ -3577,7 +3577,7 @@ impl Tab {
|
|||
row = row.push(widget::Space::with_width(Length::Fixed(space_m.into())));
|
||||
// This mouse area provides window drag while the header bar is hidden
|
||||
let mouse_area = mouse_area::MouseArea::new(row)
|
||||
.on_drag(|_| Message::WindowDrag)
|
||||
.on_press(|_| Message::WindowDrag)
|
||||
.on_double_click(|_| Message::WindowToggleMaximize);
|
||||
column = column.push(mouse_area);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue