fix starting selection from inside selection

This commit is contained in:
nightwing 2012-07-27 01:27:48 +04:00
commit 2d0b6fc49f

View file

@ -225,7 +225,7 @@ function DefaultHandlers(mouseHandler) {
var editor = this.editor;
if (distance > DRAG_OFFSET) {
this.startSelect();
this.startSelect(this.mousedownEvent.getDocumentPosition());
} else if (time - this.mousedownEvent.time > editor.getDragDelay()) {
this.startDrag();
}