Skip to content

Commit

Permalink
fix: (attempt) reading mode might need more time before elements loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgurney committed Mar 24, 2024
1 parent b1c3dd6 commit 197e4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export default class NoteToolbarPlugin extends Plugin {
this.app.workspace.onLayoutReady(debounce(() => {
console.log("LAYOUT READY");
this.renderToolbarForActiveFile();
}, (viewMode === "preview" ? 300 : 0)));
}, (viewMode === "preview" ? 200 : 0)));
break;
default:
return;
Expand Down

0 comments on commit 197e4a1

Please sign in to comment.