feat(control): 3D-кубики в отдельном окне
Бросок синхронизирован на пульте и презентации; d100 как десятки; оверлей скрывается только кнопкой «Убрать». Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1875,6 +1875,22 @@ export function ControlApp() {
|
||||
⚔
|
||||
</span>
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
iconOnly
|
||||
title={t('control.diceTool')}
|
||||
ariaLabel={t('control.diceTool')}
|
||||
data-testid="control-dice-tool"
|
||||
onClick={() => {
|
||||
void api.invoke(ipcChannels.windows.openDice, {}).catch((err) => {
|
||||
console.error('[control] openDice failed', err);
|
||||
});
|
||||
}}
|
||||
>
|
||||
<span className={styles.iconGlyph} aria-hidden>
|
||||
🎲
|
||||
</span>
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
iconOnly
|
||||
|
||||
Reference in New Issue
Block a user