fix starting selection from inside selection
This commit is contained in:
parent
0e5b77763f
commit
2d0b6fc49f
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ function DefaultHandlers(mouseHandler) {
|
||||||
var editor = this.editor;
|
var editor = this.editor;
|
||||||
|
|
||||||
if (distance > DRAG_OFFSET) {
|
if (distance > DRAG_OFFSET) {
|
||||||
this.startSelect();
|
this.startSelect(this.mousedownEvent.getDocumentPosition());
|
||||||
} else if (time - this.mousedownEvent.time > editor.getDragDelay()) {
|
} else if (time - this.mousedownEvent.time > editor.getDragDelay()) {
|
||||||
this.startDrag();
|
this.startDrag();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue