Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panning does not respect cursor start position #5

Open
reinderien opened this issue Nov 19, 2018 · 1 comment
Open

Panning does not respect cursor start position #5

reinderien opened this issue Nov 19, 2018 · 1 comment

Comments

@reinderien
Copy link
Contributor

reinderien commented Nov 19, 2018

When you middle-click to pan, the board center position jumps. It seems that the panning uses the current mouse position to place the original center of the board, not to place the position upon which the user clicked.

@ewtoombs
Copy link
Owner

It was mathematically the easiest way of getting the panning working right away. I have a fix for it in my notebook somewhere which will basically work, but it will behave more and more weirdly the further away from the centre you are. Right now, the background rendering isn't infinite yet, so it's unlikely the weirdness will properly manifest at the moment. So it makes sense to delay this until after I have infinite background rendering implemented. That will take some mathing. Still, useful to have this as an official issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants