Skip to content

Prioritize mouse wheel zooming with quick zoom tool#5118

Merged
dacap merged 1 commit into
aseprite:mainfrom
hwabis:zoom-tool-quick-mousewheel
Aug 25, 2025
Merged

Prioritize mouse wheel zooming with quick zoom tool#5118
dacap merged 1 commit into
aseprite:mainfrom
hwabis:zoom-tool-quick-mousewheel

Conversation

@hwabis

@hwabis hwabis commented Apr 13, 2025

Copy link
Copy Markdown
Contributor

I agree that my contributions are licensed under the Individual Contributor License Agreement V4.0 ("CLA") as stated in https://github.com/igarastudio/cla/blob/main/cla.md

I have signed the CLA following the steps given in https://github.com/igarastudio/cla#signing

Fixes #2019

Before this PR: scrolling with "Zoom Tool (quick)" held down works if you assign it to a keyboard shortcut that's not used by anything else (e.g. "7"). However, scrolling if it's assigned to something like "Ctrl+Space" does not work, I think because this was line eating it:

else if (Preferences::instance().editor.zoomWithWheel() && !msg->preciseWheel()) {
if (msg->ctrlPressed() && msg->shiftPressed())
wheelAction = WheelAction::Frame;
else if (msg->ctrlPressed())

@hwabis hwabis requested a review from dacap as a code owner April 13, 2025 03:53
@dacap dacap self-assigned this Apr 21, 2025
@dacap

dacap commented Aug 25, 2025

Copy link
Copy Markdown
Member

Thanks @hwabis 👍 we're going to include this fix in the next release.

@dacap dacap changed the base branch from beta to main August 25, 2025 19:34
@dacap dacap merged commit 6e9024d into aseprite:main Aug 25, 2025
@dacap dacap added this to the v1.3.15 milestone Aug 25, 2025
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.

mousewheel zooming (quick) bug

2 participants