regl-scatterplot
regl-scatterplot copied to clipboard
Adding ctrl and cmd in the keymap with same action (merge)
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!