Skip to content

Commit

Permalink
[Editor] Change the cursor to a pen for the Ink editor
Browse files Browse the repository at this point in the history
  • Loading branch information
calixteman committed Jul 7, 2022
1 parent 403ed07 commit 0e50a02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/display/editor/ink.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ class InkEditor extends AnnotationEditor {
}

super.enableEditMode();
this.canvas.style.cursor = "pointer";
this.canvas.style.cursor =
"url(images/toolbarButton-editorInk.svg) 0 16, pointer";
this.div.draggable = false;
this.canvas.addEventListener("mousedown", this.#boundCanvasMousedown);
this.canvas.addEventListener("mouseup", this.#boundCanvasMouseup);
Expand Down
2 changes: 1 addition & 1 deletion web/images/toolbarButton-editorInk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0e50a02

Please sign in to comment.