-
Notifications
You must be signed in to change notification settings - Fork 785
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
actions: only use left mouse button by default
This can be changed for drag and resize actions: interact(target) .draggable({ mouseButtons: buttonsMask, }) .resizeable({ mouseButtons: buttonsMask, }); buttonMask may be: 1 for only the left button (default) 2 for only the right button 4 for only the middle (wheel) button or any logical OR of those values to allow from any one of several buttons. E.g. 2|4 = 6 for either the right or middle button. See https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons#Return_value Close #376
- Loading branch information
Showing
4 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters