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:
@@ -8,7 +8,12 @@ function nowMs(): number {
|
||||
}
|
||||
|
||||
function defaultTool(): EffectToolState {
|
||||
return { tool: 'fog', radiusN: 0.08, intensity: 0.6 };
|
||||
return { tool: 'none', radiusN: 0.08, intensity: 0.6 };
|
||||
}
|
||||
|
||||
/** Сброс выбранного инструмента (при старте сессии). */
|
||||
export function effectsDefaultTool(): EffectToolState {
|
||||
return defaultTool();
|
||||
}
|
||||
|
||||
export class EffectsStore {
|
||||
|
||||
Reference in New Issue
Block a user