fix(app): a focus request is consumed once, not replayed on tab return

This commit is contained in:
bchanot committed 2026-11-04 14:09:30 +01:00
1 parent 4f223e04cd
commit 3d589e1556
14 files changed
+99 -30

No files matched your search

@@ -5,7 +5,6 @@ import type {
} from '@faunosteo/core-wasm/types'
import type { CommitContext } from '@/editor/annotations/annotationCommit'
import { annotationFocus } from '@/editor/annotations/focusTarget'
import { useFocusRequest } from '@/editor/focusRequest'
import { keyboardPending, type NewKind } from '@/editor/annotations/creation'
import { parseFrame, type Frame } from '@/editor/annotations/frame'
import { isEditable } from '@/editor/annotations/geometryEdit'
@@ -23,6 +22,7 @@ import {
useViewModel,
type ViewModel,
} from '@/editor/annotations/useViewModel'
import { useFocusRequest } from '@/editor/focusRequest'
import type { EditorTabProps } from '@/editor/tabs'
import { useT } from '@/i18n/useT'
import { useLocaleStore } from '@/state/localeStore'