2024-05-02 08:40:58 +08:00
|
|
|
/* eslint-disable lines-between-class-members */
|
2024-05-23 05:49:28 +08:00
|
|
|
import { StateNode } from '@bigbluebutton/tldraw';
|
2024-05-02 08:28:22 +08:00
|
|
|
|
2024-05-02 08:40:58 +08:00
|
|
|
export default class NoopTool extends StateNode {
|
2024-09-18 23:21:16 +08:00
|
|
|
static override id = 'noop';
|
|
|
|
static override initial = 'idle';
|
2024-05-02 08:28:22 +08:00
|
|
|
|
2024-09-18 23:21:16 +08:00
|
|
|
override onEnter = () => {
|
|
|
|
this.editor.setCursor({ type: 'default', rotation: 0 });
|
|
|
|
}
|
2024-05-02 08:28:22 +08:00
|
|
|
|
2024-09-18 23:21:16 +08:00
|
|
|
override onExit = () => {
|
|
|
|
this.editor.setCursor({ type: 'default', rotation: 0 });
|
|
|
|
}
|
2024-05-02 08:28:22 +08:00
|
|
|
}
|