这是indexloc提供的服务,不要输入任何密码
Skip to content

Prevent stuck cursor icon when transitioning from MMB to RMB #1633

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

Merged
merged 1 commit into from
May 11, 2021

Conversation

aeroc7
Copy link
Contributor

@aeroc7 aeroc7 commented Apr 26, 2021

Removes call to HandTool::pointerReleaseEvent, which would call ScribbleArea::setPrevTool, which would call ToolManager::setCurrentTool where it would set the previously used tool, but the HandTool::pointerReleaseEvent would go on, causing an icon-function mismatch.

Fixes #1198

@J5lx J5lx added Bug UI Related to the visual appearance of the program labels Apr 28, 2021
@MrStevns
Copy link
Member

MrStevns commented May 11, 2021

I can't verify whether it fixes the problem or not, as I can't reproduce the bug at all on Mac OS.. This is with a mouse however, I don't have my tablet setup currently. I will merge the change, then @Jose-Moreno can test if it works as expected.

@MrStevns MrStevns merged commit 7ba6e71 into pencil2d:master May 11, 2021
@chchwy chchwy added this to the 0.7.0 milestone Jul 15, 2021
@MrStevns MrStevns modified the milestones: 0.7.0, v0.6.7 Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI Related to the visual appearance of the program
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Cursor icon gets locked when zooming with a stylus
4 participants