temporarily disable broken shift+click switch

This commit is contained in:
celeste 2024-07-25 18:50:08 -07:00
parent aadf65783f
commit ba0fe89876
3 changed files with 3 additions and 3 deletions

View file

@ -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",

View file

@ -1,6 +1,6 @@
{
"name": "obsidian-loom",
"version": "1.21.1",
"version": "1.21.2",
"description": "Loom in Obsidian",
"main": "main.js",
"scripts": {

View file

@ -751,7 +751,7 @@ export const loomEditorPluginSpec: PluginSpec<LoomEditorPlugin> = {
// 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;
},