mirror of
https://gitlab.freedesktop.org/pipewire/helvum.git
synced 2026-05-07 12:18:03 +02:00
Change cursor to grab hand over output port.
This lets the user know the port can be dragged to create a link.
This commit is contained in:
parent
a5d8c871ee
commit
a9cd428a5a
1 changed files with 3 additions and 0 deletions
|
|
@ -101,6 +101,9 @@ impl Port {
|
|||
.content(&gdk::ContentProvider::for_value(&(id.to_value())))
|
||||
.build();
|
||||
res.add_controller(&drag_src);
|
||||
|
||||
// Display a grab cursor when the mouse is over the port so the user knows it can be dragged to another port.
|
||||
res.set_cursor(gtk::gdk::Cursor::from_name("grab", None).as_ref());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue