Skip to content

Commit a029287

Browse files
committed
fix(zoom): vim workaround affects sidebar nodes
1 parent 95138db commit a029287

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/obsidian/helpers/inline-editor/inline-editor.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ export class InlineEditor {
236236
};
237237

238238
fixVimWhenZooming = () => {
239+
const viewState = this.view.viewStore.getValue();
240+
if (viewState.document.editing.isInSidebar) return;
241+
239242
const unsub = fixVimCursorWhenZooming(this.view);
240243
if (unsub) {
241244
this.subscriptions.add(unsub);

0 commit comments

Comments
 (0)