Skip to content

Fix Tree node mouse dragging regression on touchscreens#120728

Open
syntaxerror247 wants to merge 1 commit into
godotengine:masterfrom
syntaxerror247:tree-mouse-drag
Open

Fix Tree node mouse dragging regression on touchscreens#120728
syntaxerror247 wants to merge 1 commit into
godotengine:masterfrom
syntaxerror247:tree-mouse-drag

Conversation

@syntaxerror247

@syntaxerror247 syntaxerror247 commented Jun 29, 2026

Copy link
Copy Markdown
Member

The existing logic allowed drag-and-drop even when drag_touching was true, for mouse input. But drag_touching and TreeItem drag-and-drop are conflicting with each other, and prevents drag scrolling from being released properly.

This PR fixes the issue by disabling drag scrolling when using mouse input. Only thing is that first touch after using mouse, will start dragging instead of scolling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug cherrypick:4.7 Considered for cherry-picking into a future 4.7.x release regression topic:input

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dragging a node in the Scene dock incorrectly interpreted as touchscreen scrolling

1 participant