-
Notifications
You must be signed in to change notification settings - Fork 193
Closed
Milestone
Description
Commit e6479ee seems to have caused a regression in the pan-zoom view example.
Behavior before (commit b7aa52c):
Details
Screencast.From.2025-11-09.12-43-29.webm
Behavior starting with commit e6479ee:
Details
Screencast.From.2025-11-09.12-44-21.webm
Note: for making the videos I adjusted the following code (the scrolling behavior changed with the switch to ui-events and factor should probably be adjusted):
e @ Event::Pointer(PointerEvent::Scroll(_)) => {
if let Some(delta) = e.pixel_scroll_delta_vec2() {
let scale = 1. + delta.y / 50.; // <-- divisor changed to 50 to increase scrolling speedAs you can see, in particular when zooming in quite close, there are observable jumps in the view layout.
This could mean that there is a regression in (animated) style transforms; but it could also mean the code of the example needs to be adjusted? Thanks in advance for any advice on fixing this!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels