bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/custom-tools/noop-tool/component.ts
2024-05-22 21:49:28 +00:00

16 lines
417 B
TypeScript

/* eslint-disable lines-between-class-members */
import { StateNode } from '@bigbluebutton/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 });
}
}