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: use the correct icon when dragging #51

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

emilk
Copy link
Contributor

@emilk emilk commented Oct 10, 2022

Previously, you would have CursorIcon::PointingHand when hovering a tab title. When dragging a tab, you would get CursorIcon::Grabbing, but if you dragged a tab so it was hovering another title, it would go back to CursorIcon::PointingHand.

This PR changes the hovering cursor to CursorIcon::Grab. Additionally, it fixes the above bug so that CursorIcon::Grabbing is used all the while a tab is being dragged.

tab-cursor-fix

@Adanos020 Adanos020 merged commit 55b01ea into Adanos020:main Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants