diff --git a/web/annotation_editor_layer_builder.css b/web/annotation_editor_layer_builder.css index 9fea9b19d..f7d617e5e 100644 --- a/web/annotation_editor_layer_builder.css +++ b/web/annotation_editor_layer_builder.css @@ -18,13 +18,11 @@ --hover-outline: dashed 2px blue; --freetext-line-height: 1.35; --freetext-padding: 2px; + --editorFreeText-editing-cursor: text; /*#if COMPONENTS*/ --editorInk-editing-cursor: pointer; - --editorFreeText-editing-cursor: text; /*#else*/ - --editorInk-editing-cursor: url(images/cursor-editorInk.svg) 0 16; - --editorFreeText-editing-cursor: url(images/toolbarButton-editorFreeText.svg) - 8 16; + --editorInk-editing-cursor: url(images/cursor-editorInk.svg) 0 16, pointer; /*#endif*/ } @@ -57,11 +55,11 @@ } .annotationEditorLayer.freeTextEditing { - cursor: var(--editorFreeText-editing-cursor), text; + cursor: var(--editorFreeText-editing-cursor); } .annotationEditorLayer.inkEditing { - cursor: var(--editorInk-editing-cursor), pointer; + cursor: var(--editorInk-editing-cursor); } .annotationEditorLayer .selectedEditor { diff --git a/web/images/cursor-editorInk.svg b/web/images/cursor-editorInk.svg index 8bd0c0f18..1dadb5c01 100644 --- a/web/images/cursor-editorInk.svg +++ b/web/images/cursor-editorInk.svg @@ -1,3 +1,4 @@ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> +<path d="M0.0189877 13.6645L0.612989 10.4635C0.687989 10.0545 0.884989 9.6805 1.18099 9.3825L9.98199 0.5805C10.756 -0.1925 12.015 -0.1945 12.792 0.5805L14.42 2.2085C15.194 2.9835 15.194 4.2435 14.42 5.0185L5.61599 13.8215C5.31999 14.1165 4.94599 14.3125 4.53799 14.3875L1.33599 14.9815C1.26599 14.9935 1.19799 15.0005 1.12999 15.0005C0.832989 15.0005 0.544988 14.8835 0.330988 14.6695C0.0679874 14.4055 -0.0490122 14.0305 0.0189877 13.6645Z" fill="white"/> <path d="M0.0189877 13.6645L0.612989 10.4635C0.687989 10.0545 0.884989 9.6805 1.18099 9.3825L9.98199 0.5805C10.756 -0.1925 12.015 -0.1945 12.792 0.5805L14.42 2.2085C15.194 2.9835 15.194 4.2435 14.42 5.0185L5.61599 13.8215C5.31999 14.1165 4.94599 14.3125 4.53799 14.3875L1.33599 14.9815C1.26599 14.9935 1.19799 15.0005 1.12999 15.0005C0.832989 15.0005 0.544988 14.8835 0.330988 14.6695C0.0679874 14.4055 -0.0490122 14.0305 0.0189877 13.6645ZM12.472 5.1965L13.632 4.0365L13.631 3.1885L11.811 1.3675L10.963 1.3685L9.80299 2.5285L12.472 5.1965ZM4.31099 13.1585C4.47099 13.1285 4.61799 13.0515 4.73399 12.9345L11.587 6.0815L8.91899 3.4135L2.06599 10.2655C1.94899 10.3835 1.87199 10.5305 1.84099 10.6915L1.36699 13.2485L1.75199 13.6335L4.31099 13.1585Z" fill="black"/> </svg>