Enhance P2P synchronization features and UI improvements

This commit is contained in:
vorotamoroz committed 2026-05-17 01:36:09 +09:00
1 parent 9a90256a8a
commit 4ed1749652
8 files changed
+145 -32

No files matched your search

@@ -39,6 +39,11 @@ export class ObsidianAPIService extends InjectableAPIService<ObsidianServiceCont
}
override async showWindowOnRight(viewType: string): Promise<void> {
const existing = this.app.workspace.getLeavesOfType(viewType);
if (existing.length > 0) {
await this.app.workspace.revealLeaf(existing[0]);
return;
}
const rightLeaf = this.app.workspace.getRightLeaf(false);
if (rightLeaf) {
await rightLeaf.setViewState({