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

Implemented the pan on the PannableCanvas using the arrow keys #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

VersusF
Copy link

@VersusF VersusF commented Feb 26, 2020

Hello
This is a small implementation in order to pan the PannableCanvas using the arrow keys. Hope it could help. This should solve the #7 issue that I opened about a week ago.

@Col-E
Copy link
Collaborator

Col-E commented Feb 26, 2020

Perhaps you could also have the pan speed be a property in case a user wanted to pan faster.

Added also compatibility with newer version of javafx and UTF-8 encoding in pom.xml
@VersusF
Copy link
Author

VersusF commented Feb 27, 2020

I added the pan speed as a property. I also noticed that the default mouse pan works with the secondary mouse button, but this is very uncomfortable with a laptop without a mouse, so i changed it as well.

Col-E pushed a commit to Col-E/fxgraph that referenced this pull request Aug 28, 2021
Also SequenceDiagram.layout explicitly overrides Graph.layout sirolf2009#8
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

Successfully merging this pull request may close these issues.

None yet

2 participants