Is your feature request related to a problem? Please describe.
I really enjoy using D-Genies, but I've encountered a small usability issue on macOS. The dotplot panning feature uses Ctrl+Left Mouse, which on Mac is interpreted as a right-click. This means that whenever I try to pan the dotplot, the context menu keeps popping up, making it a bit tricky to navigate smoothly.
Describe the solution you'd like
It would be great if D-Genies could use Command+Left Mouse (⌘+Click) for panning on macOS instead of Ctrl+Left Mouse. Alternatively, Option+Left Mouse (⌥+Click) would work well too!
I believe the browser provides information about the OS (like navigator.platform), so it should be possible to detect macOS and automatically use the appropriate modifier key.
Describe alternatives you've considered
A few options that might work:
- Making the panning modifier key configurable in settings, so users can choose what works best for them
- Supporting multiple modifier keys at once (Ctrl, Command, Option)
- Auto-detecting the platform and switching between Ctrl (Windows/Linux) and Command (macOS)
Additional context
This is a pretty common challenge for Mac users with web apps that use Ctrl-based shortcuts, since Command (⌘) is the standard modifier key on macOS. Thanks for considering this improvement!
Is your feature request related to a problem? Please describe.
I really enjoy using D-Genies, but I've encountered a small usability issue on macOS. The dotplot panning feature uses Ctrl+Left Mouse, which on Mac is interpreted as a right-click. This means that whenever I try to pan the dotplot, the context menu keeps popping up, making it a bit tricky to navigate smoothly.
Describe the solution you'd like
It would be great if D-Genies could use Command+Left Mouse (⌘+Click) for panning on macOS instead of Ctrl+Left Mouse. Alternatively, Option+Left Mouse (⌥+Click) would work well too!
I believe the browser provides information about the OS (like navigator.platform), so it should be possible to detect macOS and automatically use the appropriate modifier key.
Describe alternatives you've considered
A few options that might work:
Additional context
This is a pretty common challenge for Mac users with web apps that use Ctrl-based shortcuts, since Command (⌘) is the standard modifier key on macOS. Thanks for considering this improvement!