From 5e4de15a526f490dfd99bf417c679cec0ff9a941 Mon Sep 17 00:00:00 2001 From: Preet Shihn Date: Wed, 27 May 2020 14:55:45 -0700 Subject: [PATCH] increase svg size --- src/rough-notation.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rough-notation.ts b/src/rough-notation.ts index 45e9d5d..9216d37 100644 --- a/src/rough-notation.ts +++ b/src/rough-notation.ts @@ -49,8 +49,8 @@ class RoughAnnotationImpl implements RoughAnnotation { style.left = '0'; style.overflow = 'visible'; style.pointerEvents = 'none'; - style.width = '1px'; - style.height = '1px'; + style.width = '100px'; + style.height = '100px'; const prepend = this._config.type === 'highlight'; this._e.insertAdjacentElement(prepend ? 'beforebegin' : 'afterend', svg); this._state = 'not-showing';