Skip to content

Make custom zoom values accessible with arrow keys or mouse wheel#1926

Open
danpish wants to merge 2 commits into
pencil2d:masterfrom
danpish:master
Open

Make custom zoom values accessible with arrow keys or mouse wheel#1926
danpish wants to merge 2 commits into
pencil2d:masterfrom
danpish:master

Conversation

@danpish

@danpish danpish commented Jul 6, 2025

Copy link
Copy Markdown

I decided to attempt and fix this problem by the suggestion that was given in the issue #1651 and make it so that when:
1) A new custom value is inserted but no custom values are present in the zoom options, that value gets added.
2) A new custom value is inserted but a custom value already exists, that value would get replaced by the new one.
3) A non-custom value is inserted, any custom value that exists in the list would get removed.

However I could not figure out how to make the latter functional. Because when the value gets changed, either by manually inserting the number, or using either the arrow keys or the mouse wheel, all gets registered the same way and I don't know how differentiate different input methods. Would like to hear your suggestions.

fixes #1651

@github-project-automation github-project-automation Bot moved this to Needs Review in Pull Request Priority Jul 6, 2025
@chchwy chchwy self-requested a review August 23, 2025 02:07
@chchwy chchwy self-assigned this Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

Status bar zoom field does not consider custom values when using arrow keys or mouse scroll wheel

2 participants