tree: implement tile dragging
This commit is contained in:
parent
83fd9f211e
commit
132986df2a
17 changed files with 925 additions and 52 deletions
|
|
@ -722,6 +722,9 @@ pub fn create_render_pass(
|
|||
}
|
||||
}
|
||||
}
|
||||
if let Some(highlight) = seat.ui_drag_highlight() {
|
||||
renderer.render_highlight(&highlight.move_(-rect.x1(), -rect.y1()));
|
||||
}
|
||||
if let Some(drag) = seat.toplevel_drag() {
|
||||
drag.render(&mut renderer, &rect, x, y);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue