regl-scatterplot icon indicating copy to clipboard operation
regl-scatterplot copied to clipboard

Adding ctrl and cmd in the keymap with same action (merge)

Open rv-ibena opened this issue 8 months ago • 1 comments

Hi @flekschas!

I noticed that Ctrl is not added in the default keymap. I added it like so keyMap: { alt: 'rotate', ctrl: 'merge', shift: 'lasso', }, and everything works fine. However if I add cmd as well keyMap: { alt: 'rotate', cmd: 'merge', ctrl: 'merge', shift: 'lasso', }, then CTRL stops working (I don't know about cmd, I'm on a linux). Can we have more than one key with the same action or I am doing something wrong?

Thank you!

rv-ibena avatar Jun 06 '24 15:06 rv-ibena