fix: control UX — no default tool, launch loader, NPC layout
Deselect effect tools by default and on re-click, block the editor during session launch, and fix NPC overlay/window empty-state layout. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3,6 +3,11 @@ import test from 'node:test';
|
||||
|
||||
import { EffectsStore } from './effectsStore';
|
||||
|
||||
void test('defaultTool: при старте инструмент не выбран', () => {
|
||||
const store = new EffectsStore();
|
||||
assert.equal(store.getState().tool.tool, 'none');
|
||||
});
|
||||
|
||||
void test('pruneExpired: лёд не удаляется по времени', () => {
|
||||
const store = new EffectsStore();
|
||||
const createdAtMs = Date.now() - 365 * 24 * 60 * 60 * 1000;
|
||||
|
||||
Reference in New Issue
Block a user