Maybe fix losing selection in the code app when tab is not focused
This commit is contained in:
parent
521940f604
commit
7c7a3660c8
@ -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));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user