Skip to content

Conversation

@danpish
Copy link

@danpish danpish commented Jul 6, 2025

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

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

1 participant