From b960520e248f2d054dbd62a365087efa4a7177bc Mon Sep 17 00:00:00 2001 From: Quorafind Date: Fri, 23 Dec 2022 21:57:57 +0800 Subject: [PATCH] chore: bump version --- canvasMindMap.ts | 3 ++- manifest.json | 2 +- package.json | 2 +- versions.json | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/canvasMindMap.ts b/canvasMindMap.ts index 86c8fa2..31bdadd 100644 --- a/canvasMindMap.ts +++ b/canvasMindMap.ts @@ -376,10 +376,11 @@ export default class CanvasMindMap extends Plugin { const node = Array.from(canvas.nodes).first(); if (!node) return false; + // @ts-ignore const nodeInstance = node[1]; const uninstaller = around(nodeInstance.constructor.prototype, { - setColor: (next) => + setColor: (next: any) => function (e: any, t: any) { next.call(this, e, t); this.canvas.getEdgesForNode(this).forEach((edge: any) => { diff --git a/manifest.json b/manifest.json index 85b07c8..b0ed49d 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "canvas-mindmap", "name": "Canvas Mindmap", - "version": "0.0.5", + "version": "0.0.6", "minAppVersion": "1.1.0", "description": "A plugin to make your canvas work like a mindmap.", "author": "Boninall", diff --git a/package.json b/package.json index b62d419..2e3fa15 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "canvas-mindmap", - "version": "0.0.5", + "version": "0.0.6", "description": "A plugin to make your canvas work like a mindmap.", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index ab36390..925728a 100644 --- a/versions.json +++ b/versions.json @@ -3,5 +3,6 @@ "0.0.2": "1.1.0", "0.0.3": "1.1.0", "0.0.4": "1.1.0", - "0.0.5": "1.1.0" + "0.0.5": "1.1.0", + "0.0.6": "1.1.0" } \ No newline at end of file