diff --git a/src/editor/core/draw/particle/latex/LaTexParticle.ts b/src/editor/core/draw/particle/latex/LaTexParticle.ts index 4bfdad7..f35a490 100644 --- a/src/editor/core/draw/particle/latex/LaTexParticle.ts +++ b/src/editor/core/draw/particle/latex/LaTexParticle.ts @@ -1,6 +1,6 @@ import { IElement } from '../../../../interface/Element' import { ImageParticle } from '../ImageParticle' -import { LaTexSVG, LaTexUtils } from './utils/LaTeXUtils' +import { LaTexSVG, LaTexUtils } from './utils/LaTexUtils' export class LaTexParticle extends ImageParticle { diff --git a/src/editor/dataset/enum/KeyMap.ts b/src/editor/dataset/enum/KeyMap.ts new file mode 100644 index 0000000..38bcb85 --- /dev/null +++ b/src/editor/dataset/enum/KeyMap.ts @@ -0,0 +1,16 @@ +export enum KeyMap { + Delete = 'Delete', + Backspace = 'Backspace', + Enter = 'Enter', + Left = 'ArrowLeft', + Right = 'ArrowRight', + Up = 'ArrowUp', + Down = 'ArrowDown', + ESC = 'Escape', + A = 'a', + C = 'c', + S = 's', + X = 'x', + Y = 'y', + Z = 'z' +} \ No newline at end of file