Skip to content

Why do I get jittering with custom panning implementation using JointJS native events? #2885

Answered by kumilingus
ryan-nebulock asked this question in Q&A
Discussion options

You must be logged in to vote

The issue isn't with using the blank:pointermove and blank:pointerdown events but with reading the x and y values, which are already snapped to the grid and converted to graph coordinates. Instead, you should use the client coordinates from the dia.Event.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ryan-nebulock
Comment options

Answer selected by ryan-nebulock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants