feat(npcs): show multiple character overlays in session playback

Toggle NPCs independently from the characters window, keep one shared dim/close-all, and scroll descriptions for all selected characters.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Fontosh
2026-07-21 13:23:19 +08:00
parent f4c0ac1438
commit 1829191410
8 changed files with 538 additions and 121 deletions
+4 -2
View File
@@ -425,7 +425,8 @@ export const EDITOR_MESSAGES: Record<EditorLocale, Record<string, string>> = {
'npcs.graphZoomOut': 'Уменьшить',
'npcs.graphFitAll': 'Показать всё',
'npcs.windowEmpty': 'Добавьте НПС в редакторе.',
'npcs.closeOverlay': 'Закрыть НПС',
'npcs.selectToShow': 'Выберите персонажей в списке — они появятся на экране.',
'npcs.closeOverlay': 'Закрыть всех',
'npcs.zoomIn': 'Увеличить',
'npcs.zoomOut': 'Уменьшить',
'npcs.zoomInHint': 'Кликните по аватару в предпросмотре пульта, чтобы увеличить.',
@@ -960,7 +961,8 @@ export const EDITOR_MESSAGES: Record<EditorLocale, Record<string, string>> = {
'npcs.graphZoomOut': 'Zoom out',
'npcs.graphFitAll': 'Fit view',
'npcs.windowEmpty': 'Add NPCs in the editor.',
'npcs.closeOverlay': 'Close NPC',
'npcs.selectToShow': 'Select characters in the list — they will appear on screen.',
'npcs.closeOverlay': 'Close all',
'npcs.zoomIn': 'Zoom in',
'npcs.zoomOut': 'Zoom out',
'npcs.zoomInHint': 'Click the avatar on the control preview to zoom in.',