Improve cursor
All checks were successful
Build on Push and create Release on Tag / build (push) Successful in 51s
All checks were successful
Build on Push and create Release on Tag / build (push) Successful in 51s
This commit is contained in:
parent
17d4e5938b
commit
ff83c23851
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 |
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue