fix typo
This commit is contained in:
parent
bfdd7239d1
commit
68c6c4e86c
1 changed files with 2 additions and 2 deletions
|
|
@ -109,9 +109,9 @@ function DefaultHandlers(mouseHandler) {
|
||||||
pos = pos || this.editor.renderer.screenToTextCoordinates(this.x, this.y);
|
pos = pos || this.editor.renderer.screenToTextCoordinates(this.x, this.y);
|
||||||
var editor = this.editor;
|
var editor = this.editor;
|
||||||
// allow double/triple click handlers to change selection
|
// allow double/triple click handlers to change selection
|
||||||
var shiftPresed = this.mousedownEvent.getShiftKey();
|
var shiftPressed = this.mousedownEvent.getShiftKey();
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
if (shiftPresed) {
|
if (shiftPressed) {
|
||||||
editor.selection.selectToPosition(pos);
|
editor.selection.selectToPosition(pos);
|
||||||
}
|
}
|
||||||
else if (!this.$clickSelection) {
|
else if (!this.$clickSelection) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue