feat(control): трекер инициативы в отдельном окне
Очередь NPC/игроков с DnD, курсором на сцене, состояниями и запасом; сброс при смене сцены. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1859,6 +1859,22 @@ export function ControlApp() {
|
||||
⏱
|
||||
</span>
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
iconOnly
|
||||
title={t('control.initiativeTool')}
|
||||
ariaLabel={t('control.initiativeTool')}
|
||||
data-testid="control-initiative-tool"
|
||||
onClick={() => {
|
||||
void api.invoke(ipcChannels.windows.openInitiative, {}).catch((err) => {
|
||||
console.error('[control] openInitiative failed', err);
|
||||
});
|
||||
}}
|
||||
>
|
||||
<span className={styles.iconGlyph} aria-hidden>
|
||||
⚔
|
||||
</span>
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
iconOnly
|
||||
|
||||
Reference in New Issue
Block a user