Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix input lock issue when drag scrolling on a Tree element on touchscreen devices #94422

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

m4gr3d
Copy link
Contributor

@m4gr3d m4gr3d commented Jul 16, 2024

Prior to this fix, scrolling via mouse drag on touchscreen devices, and drag&drop operation of a TreeItem element would conflict with each other preventing the drag scroll from being released when the mouse button is released.

The issue is addressed by disabling drag&drop operations when drag scrolling is ongoing.

scene/gui/tree.h Outdated Show resolved Hide resolved
…touchscreen devices

Prior to this fix, scrolling via mouse drag on touchscreen devices, and
drag&drop operation on a `TreeItem` element would conflict with each other
preventing the drag scroll from being released when the mouse button is
released.

The issue is addressed by disabling drag&drop when drag scrolling is ongoing.
@akien-mga akien-mga merged commit 7d71b4b into godotengine:master Jul 18, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

@m4gr3d m4gr3d deleted the fix_input_locking_issue branch July 18, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Bad
Development

Successfully merging this pull request may close these issues.

None yet

3 participants