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:
June 2023-01-24 18:33:15 +01:00
commit d7ec1156e2
No known key found for this signature in database
GPG key ID: 094C2AC34192FA11
3 changed files with 46 additions and 16 deletions

View file

@ -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>