Skip to content

Conversation

@MaeIsBad
Copy link
Contributor

@MaeIsBad MaeIsBad commented Sep 4, 2025

This changes the keyboard shortcuts behavior a tiny bit, allowing users to pan with middle mouse button without holding ctrl, and allowing them to keep panning the diagram after letting go of ctrl.
This is closer to the behavior of mermaid.live and other diagram viewers.

@johanneswuerbach
Copy link
Owner

johanneswuerbach commented Sep 4, 2025

Thank you @MaeIsBad , would you mind resolving the conflict here? Happy to merge afterwards.

I find this much more intuitive and it seems like this is how
it's implemented in most other similar diagram viewers(eg. mermaid.live)
@MaeIsBad MaeIsBad force-pushed the improve_panning_keybinds branch from f134452 to f1264d7 Compare September 5, 2025 11:27
@MaeIsBad
Copy link
Contributor Author

MaeIsBad commented Sep 5, 2025

Done, thanks for the quick turnaround :)

@johanneswuerbach johanneswuerbach merged commit a8281c8 into johanneswuerbach:main Sep 5, 2025
2 checks passed
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.

2 participants