Repository navigation
feat: add scroll-wheel zoom - #61
Merged
Merged
Conversation
theoparis
force-pushed
the
push-wqlnmoumvrrm
branch
3 times, most recently
from
September 13, 2026 07:57
3e93cac to
2a9a9dd
Compare
Signed-off-by: Theo Paris <[email protected]> Change-Id: I1d42721ee52811df22ea886b2727a1d86a6a6964
Signed-off-by: Theo Paris <[email protected]> Change-Id: I4c508d4f1655a684b12e412f2a19742c6a6a6964
…iewport Signed-off-by: Theo Paris <[email protected]> Change-Id: I81b9cce9cca2b1b6074da1805b81119d6a6a6964
response.hover_pos() only returns Some when this specific widget wins hover for that pixel, which is false whenever a node, pin, or attribute widget is on top. That silently dropped scroll deltas and made zooming feel laggy and intermittent. Use the raw pointer position plus a simple rect-contains check instead, which is independent of widget hover ownership. Signed-off-by: Theo Paris <[email protected]> Change-Id: Icd36eeddf23c9036a4e7e72bcb4b67286a6a6964
…section content_rect() is in real, untransformed screen space, but it was being intersected directly against the local (post-inverse-transform) visible rect. At any zoom other than 1.0 that silently clamped the clip/fill/grid area back down to roughly the original unscaled canvas size, causing a tiny grid surrounded by solid background when zoomed out. Signed-off-by: Theo Paris <[email protected]> Change-Id: I39ecdb5d488d9ccdd65f4d96f6609f006a6a6964
Signed-off-by: Theo Paris <[email protected]>
theoparis
force-pushed
the
push-wqlnmoumvrrm
branch
from
October 21, 2026 04:36
4d54271 to
b8ad80b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.