()
| 18 | blockFocusAtom: Atom<string | null>; |
| 19 | |
| 20 | private constructor() { |
| 21 | this.blockFocusAtom = atom((get) => { |
| 22 | if (get(this.focusType) == "waveai") { |
| 23 | return null; |
| 24 | } |
| 25 | const layoutModel = getLayoutModelForStaticTab(); |
| 26 | const lnode = get(layoutModel.focusedNode); |
| 27 | return lnode?.data?.blockId; |
| 28 | }); |
| 29 | } |
| 30 | |
| 31 | static getInstance(): FocusManager { |
| 32 | if (!FocusManager.instance) { |
nothing calls this directly
no test coverage detected