From ba0fe89876df8d948263a8d7eda64c7d5be75bf7 Mon Sep 17 00:00:00 2001 From: celeste Date: Thu, 25 Jul 2024 18:50:08 -0700 Subject: [PATCH] temporarily disable broken shift+click switch --- manifest.json | 2 +- package.json | 2 +- views.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index cf43151..e350d87 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "loom", "name": "Loom", - "version": "1.21.1", + "version": "1.21.2", "minAppVersion": "0.15.0", "description": "Loom in Obsidian", "author": "celeste", diff --git a/package.json b/package.json index 007e89b..3fa1c7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-loom", - "version": "1.21.1", + "version": "1.21.2", "description": "Loom in Obsidian", "main": "main.js", "scripts": { diff --git a/views.ts b/views.ts index e987827..e0c7108 100644 --- a/views.ts +++ b/views.ts @@ -751,7 +751,7 @@ export const loomEditorPluginSpec: PluginSpec = { // the second last element, since the last is `loom__editor-node-hover` const className = target.classList[target.classList.length - 2]; const id = className.split("-").slice(2).join("-"); - this.app.workspace.trigger("loom:switch-to", id); + // app.workspace.trigger("loom:switch-to", id); FIXME :3 return true; },