Prevent snapping while space-panning
This patch fixes a bug where panning the window using the spacebar caused jittery motion.
To reproduce the bug:
- Set the snap delay preference to zero
- Enable snapping
- Pan with the spacebar
Here is a video showing the behavior and also what it looks like with this (tiny!) patch applied.
This bug doesn’t happen with middle or right-click panning because there is already logic to disable snapping during those two cases. This patch simply adds another check so that snapping is also disabled while space-panning.
Thank you so much for maintaining Inkscape!