Improve cursor
All checks were successful
Build on Push and create Release on Tag / build (push) Successful in 51s

This commit is contained in:
MassiveBox 2025-05-15 18:16:50 +02:00
parent 17d4e5938b
commit ff83c23851
Signed by: massivebox
GPG key ID: 9B74D3A59181947D
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 719 B

After

Width:  |  Height:  |  Size: 606 B

Before After
Before After

View file

@ -47,7 +47,7 @@ export class PluginEditor {
const styleElement = document.createElement('style'); const styleElement = document.createElement('style');
styleElement.innerHTML = ` styleElement.innerHTML = `
canvas.wetInkCanvas { 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); this.element.appendChild(styleElement);