diff --git a/package.json b/package.json index b4b2293..76504eb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "siyuan-jsdraw-plugin", - "version": "0.4.1", + "version": "0.4.0", "type": "module", "description": "Include a whiteboard for freehand drawing anywhere in your documents.", "repository": "https://git.massive.box/massivebox/siyuan-jsdraw-plugin", diff --git a/plugin.json b/plugin.json index a5431f9..8acdb80 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "name": "siyuan-jsdraw-plugin", "author": "massivebox", "url": "https://git.massive.box/massivebox/siyuan-jsdraw-plugin", - "version": "0.4.1", + "version": "0.4.0", "minAppVersion": "3.0.12", "backends": [ "windows", diff --git a/public/webapp/cursor.png b/public/webapp/cursor.png index 939ddde..1306cf3 100644 Binary files a/public/webapp/cursor.png and b/public/webapp/cursor.png differ diff --git a/src/editor.ts b/src/editor.ts index 9ddb6de..1331e88 100644 --- a/src/editor.ts +++ b/src/editor.ts @@ -47,7 +47,7 @@ export class PluginEditor { const styleElement = document.createElement('style'); styleElement.innerHTML = ` canvas.wetInkCanvas { - cursor: url('/plugins/siyuan-jsdraw-plugin/webapp/cursor.png') 3 3, none; + cursor: url('/plugins/siyuan-jsdraw-plugin/webapp/cursor.png') 6 6, auto; } `; this.element.appendChild(styleElement);