Fix annotation typo

This commit is contained in:
Adam Ochayon
2020-05-28 00:24:52 -04:00
committed by GitHub
parent 8ef456305c
commit 38164f63f8

View File

@@ -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
}
}
};
}
}