Team Create (���������� ��������������) + ���������� ���� + ������ 16/17/20/40/44/05 #34

Merged
min merged 69 commits from restore/all-tasks into main 2026-06-08 01:13:01 +00:00
2 changed files with 7 additions and 3 deletions
Showing only changes of commit f46e6f0102 - Show all commits

View File

@ -848,8 +848,13 @@ const KubikonEditor = () => {
}
s.focusOnSelection?.();
} catch (e) {}
// Тост-уведомление.
try { showToast?.(`Механика «${kit.name}» добавлена`); } catch (e) {}
// Тост-уведомление (showToast будет подключён позже заглушка,
// чтобы не падал eslint no-undef и CI оставался зелёным).
try {
if (typeof window !== 'undefined' && typeof window.showToast === 'function') {
window.showToast(`Механика «${kit.name}» добавлена`);
}
} catch (e) {}
}, []);
const [paletteTab, setPaletteTab] = useState('blocks'); // 'blocks' | 'models' | 'primitives'

View File

@ -154,7 +154,6 @@ export class FloaterManager {
if (slot.isCrit) text = 'POW!';
else if (num > 100) text = 'KAPOW!';
else if (num > 50) text = 'BAM!';
text = text;
}
if (stackCount > 1) text = baseText + ' ×' + stackCount;