()
| 302 | let hiddenForPicker = false; |
| 303 | |
| 304 | const resetRecordingTarget = () => { |
| 305 | const targetMode = untrack(() => rawOptions.targetMode); |
| 306 | if (targetMode != null) { |
| 307 | setOptions("targetMode", null); |
| 308 | void commands.closeTargetSelectOverlays().catch(() => {}); |
| 309 | } |
| 310 | void commands.setEditorRecordingTarget(null).catch(() => {}); |
| 311 | }; |
| 312 | |
| 313 | const showEditorWindow = async (focus: boolean) => { |
| 314 | const window = getCurrentWindow(); |