// shared custody import { StateNode } from '@bigbluebutton/editor' import { Drawing } from '../draw/toolStates/Drawing' import { Idle } from '../draw/toolStates/Idle' /** @public */ export class HighlightShapeTool extends StateNode { static override id = 'highlight' static override initial = 'idle' static override children = () => [Idle, Drawing] override shapeType = 'highlight' override onExit = () => { const drawingState = this.children!['drawing'] as Drawing drawingState.initialShape = undefined } }