bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/custom-tools/noop-tool/component.ts
KDSBrowne 0704628caa lint
2024-05-02 00:40:58 +00:00

16 lines
410 B
TypeScript

/* eslint-disable lines-between-class-members */
import { StateNode } from '@tldraw/tldraw';
export default class NoopTool extends StateNode {
static override id = 'noop';
static override initial = 'idle';
override onEnter = () => {
this.editor.setCursor({ type: 'default', rotation: 0 });
}
override onExit = () => {
this.editor.setCursor({ type: 'default', rotation: 0 });
}
}