Skip to content

Commit

Permalink
chore: change equal variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ybzky committed Sep 19, 2024
1 parent 35661f0 commit 5635569
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class DocSelectionRenderController extends Disposable implements IRenderM
const { offsetX, offsetY } = evt;

setTimeout(() => {
if (this._editorService.getEditor(unitId)?.editorUnitId === this._editorService.getFocusId()) {
if (this._editorService.getEditor(unitId)?.editorUnitId === unitId) {
return;
}
this._setEditorFocus(unitId);
Expand Down

0 comments on commit 5635569

Please sign in to comment.