Prevent mousedown event default selection behavior

Fixes #698
This commit is contained in:
Daniel Imms
2017-06-12 14:51:58 -07:00
parent a889fef752
commit 2a0f44b0fb
+3
View File
@@ -336,6 +336,9 @@ export class SelectionManager extends EventEmitter {
return;
}
// Tell the browser not to start a regular selection
event.preventDefault();
// Reset drag scroll state
this._dragScrollAmount = 0;