-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support horizontal panning with middle button or Ctrl+left button
Allow panning with the mouse with middle button drag or Ctrl+left button drag. Change the cursor to 'grabbing' while panning is ongoing. Change the cursor to 'grabbing' when only Ctrl is pressed to indicate that left button can be used to pan. Restore the cursor to 'default' when panning is ended by releasing the mouse button that initiated it, or when the conditions to initiate Ctrl+left button panning are no longer met. Prevent time selection with any other button than the left button or when the Ctrl or Alt key is pressed. Signed-off-by: Patrick Tasse <patrick.tasse@ericsson.com>
- Loading branch information
1 parent
5d65cdf
commit 484fbfc
Showing
2 changed files
with
76 additions
and
12 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