Maybe fix losing selection in the code app when tab is not focused
This commit is contained in:
1 parent
521940f604
commit
7c7a3660c8
1 file changed
+1
@@ -62,6 +62,7 @@ define([
|
|||||||
});
|
});
|
||||||
|
|
||||||
editor._noCursorUpdate = false;
|
editor._noCursorUpdate = false;
|
||||||
|
editor.state.focused = true;
|
||||||
if(selects[0] === selects[1]) {
|
if(selects[0] === selects[1]) {
|
||||||
editor.setCursor(posToCursor(selects[0], remoteDoc));
|
editor.setCursor(posToCursor(selects[0], remoteDoc));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user