mirror of
https://github.com/slidevjs/rough-notation.git
synced 2026-01-14 17:44:21 +01:00
increase svg size
This commit is contained in:
@@ -49,8 +49,8 @@ class RoughAnnotationImpl implements RoughAnnotation {
|
|||||||
style.left = '0';
|
style.left = '0';
|
||||||
style.overflow = 'visible';
|
style.overflow = 'visible';
|
||||||
style.pointerEvents = 'none';
|
style.pointerEvents = 'none';
|
||||||
style.width = '1px';
|
style.width = '100px';
|
||||||
style.height = '1px';
|
style.height = '100px';
|
||||||
const prepend = this._config.type === 'highlight';
|
const prepend = this._config.type === 'highlight';
|
||||||
this._e.insertAdjacentElement(prepend ? 'beforebegin' : 'afterend', svg);
|
this._e.insertAdjacentElement(prepend ? 'beforebegin' : 'afterend', svg);
|
||||||
this._state = 'not-showing';
|
this._state = 'not-showing';
|
||||||
|
|||||||
Reference in New Issue
Block a user