mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-13 10:50:59 +00:00
Simple boolean option on canvas to allow scrolling on touchscreen devices
This commit is contained in:
parent
2f4cc5ec25
commit
d728951ccf
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@
|
|||
* @param {Event} e Event object fired on mousemove
|
||||
*/
|
||||
_onMouseMove: function (e) {
|
||||
e.preventDefault && e.preventDefault();
|
||||
!this.allowTouchScrolling && e.preventDefault && e.preventDefault();
|
||||
this.__onMouseMove(e);
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue