mirror of
https://github.com/slidevjs/rough-notation.git
synced 2026-01-22 21:20:25 +01:00
@@ -2,10 +2,10 @@ import { Rect, RoughAnnotationConfig, RoughAnnotation, SVG_NS, RoughAnnotationGr
|
|||||||
import { renderAnnotation } from './render.js';
|
import { renderAnnotation } from './render.js';
|
||||||
import { ensureKeyframes } from './keyframes.js';
|
import { ensureKeyframes } from './keyframes.js';
|
||||||
|
|
||||||
type AnootationState = 'unattached' | 'not-showing' | 'showing';
|
type AnnotationState = 'unattached' | 'not-showing' | 'showing';
|
||||||
|
|
||||||
class RoughAnnotationImpl implements RoughAnnotation {
|
class RoughAnnotationImpl implements RoughAnnotation {
|
||||||
private _state: AnootationState = 'unattached';
|
private _state: AnnotationState = 'unattached';
|
||||||
private _config: RoughAnnotationConfig;
|
private _config: RoughAnnotationConfig;
|
||||||
private _e: HTMLElement;
|
private _e: HTMLElement;
|
||||||
private _svg?: SVGSVGElement;
|
private _svg?: SVGSVGElement;
|
||||||
@@ -207,4 +207,4 @@ export function annotationGroup(annotations: RoughAnnotation[]): RoughAnnotation
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user