cleanup
This commit is contained in:
parent
107735560a
commit
6ec76596a3
1 changed files with 2 additions and 2 deletions
|
|
@ -134,7 +134,7 @@ function DefaultHandlers(editor) {
|
|||
if (!editor.$mouseHandler.$clickSelection) {
|
||||
if (!dragCursor) {
|
||||
editor.moveCursorToPosition(pos);
|
||||
editor.selection.clearSelection(pos.row, pos.column);
|
||||
editor.selection.clearSelection();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -195,7 +195,7 @@ function DefaultHandlers(editor) {
|
|||
else {
|
||||
if (!_self.$clickSelection) {
|
||||
editor.moveCursorToPosition(pos);
|
||||
editor.selection.clearSelection(pos.row, pos.column);
|
||||
editor.selection.clearSelection();
|
||||
}
|
||||
}
|
||||
state = STATE_SELECT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue