diff --git a/package.json b/package.json index 76504eb..b4b2293 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "siyuan-jsdraw-plugin", - "version": "0.4.0", + "version": "0.4.1", "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 8acdb80..a5431f9 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.0", + "version": "0.4.1", "minAppVersion": "3.0.12", "backends": [ "windows", diff --git a/public/webapp/cursor.png b/public/webapp/cursor.png index 1306cf3..939ddde 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 1331e88..9ddb6de 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') 6 6, auto; + cursor: url('/plugins/siyuan-jsdraw-plugin/webapp/cursor.png') 3 3, none; } `; this.element.appendChild(styleElement);