Ctrl, Alt, or Meta keys to right click
This commit is contained in:
@@ -141,7 +141,7 @@ export default class OnTap {
|
||||
});
|
||||
|
||||
if (!this.state.moving) {
|
||||
const rightClick = event.which && event.which !== 1;
|
||||
const rightClick = (event.which && event.which !== 1) || event.altKey || event.ctrlKey || event.metaKey;
|
||||
const press = this.settings.desktopPress && event.duration >= this.settings.pressThreshold;
|
||||
|
||||
if (rightClick || press) {
|
||||
|
||||
Reference in New Issue
Block a user