From 38164f63f87e8822c67fa069e5a2872a36122800 Mon Sep 17 00:00:00 2001 From: Adam Ochayon Date: Thu, 28 May 2020 00:24:52 -0400 Subject: [PATCH] Fix annotation typo --- src/rough-notation.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rough-notation.ts b/src/rough-notation.ts index 9216d37..f4d0268 100644 --- a/src/rough-notation.ts +++ b/src/rough-notation.ts @@ -2,10 +2,10 @@ import { Rect, RoughAnnotationConfig, RoughAnnotation, SVG_NS, RoughAnnotationGr import { renderAnnotation } from './render.js'; import { ensureKeyframes } from './keyframes.js'; -type AnootationState = 'unattached' | 'not-showing' | 'showing'; +type AnnotationState = 'unattached' | 'not-showing' | 'showing'; class RoughAnnotationImpl implements RoughAnnotation { - private _state: AnootationState = 'unattached'; + private _state: AnnotationState = 'unattached'; private _config: RoughAnnotationConfig; private _e: HTMLElement; private _svg?: SVGSVGElement; @@ -207,4 +207,4 @@ export function annotationGroup(annotations: RoughAnnotation[]): RoughAnnotation } } }; -} \ No newline at end of file +}