mirror of
https://gitlab.gnome.org/june/top-bar-organizer.git
synced 2026-01-10 16:26:35 +01:00
Refactor: Setup and handle all of DND scroll. in #setupDNDScroll func.
Also handle drag events in this function so connecting to "drag-end" in widgets with "GtkDragSource" and a `globalThis` `ScrollManager` instance aren't needed.
This commit is contained in:
parent
398793d1a0
commit
d7ec1156e2
3 changed files with 46 additions and 16 deletions
|
|
@ -31,7 +31,6 @@
|
|||
<property name="actions">move</property>
|
||||
<signal name="prepare" handler="onDragPrepare"/>
|
||||
<signal name="drag-begin" handler="onDragBegin"/>
|
||||
<signal name="drag-end" handler="onDragEnd"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue