bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/custom-tools/noop-tool/component.ts
germanocaumo eef565ec81 refactor(whiteboard): lint file and remove unused code
Clean all warning and errors from linter.
2024-09-18 12:21:16 -03:00

16 lines
409 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 });
}
}