Skip to content

macOS: Use Command key instead of Ctrl for dotplot panning #157

@zilov

Description

@zilov

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions