feat: add settings dialog with render mode selection
- Add SettingDialogManager with radio-style render mode picker (simple/balance/advanced) - Add getRenderMode/setRenderMode API to Engine and EngineManager layers - Wire setting toolbar button to toggle the settings dialog - Add i18n keys for settings dialog (zh-CN/en-US) - Add version display at bottom-right of engine wrapper - Bump version to 1.1.7, rebuild and sync demo libs
This commit is contained in:
@@ -20,6 +20,7 @@ import type { SectionBoxDialogManager } from '../managers/section-box-dialog-man
|
||||
import type { WalkPathDialogManager } from '../managers/walk-path-dialog-manager';
|
||||
import type { WalkPlanViewDialogManager } from '../managers/walk-plan-view-dialog-manager';
|
||||
import type { EngineInfoDialogManager } from '../managers/engine-info-dialog-manager';
|
||||
import type { SettingDialogManager } from '../managers/setting-dialog-manager';
|
||||
import type { ComponentDetailManager } from '../managers/component-detail-manager';
|
||||
import type { AiChatManager } from '../managers/ai-chat-manager';
|
||||
|
||||
@@ -69,6 +70,8 @@ export class ManagerRegistry {
|
||||
public componentDetail: ComponentDetailManager | null = null;
|
||||
/** AI 聊天管理器 */
|
||||
public aiChat: AiChatManager | null = null;
|
||||
/** 设置对话框管理器 */
|
||||
public setting: SettingDialogManager | null = null;
|
||||
|
||||
constructor() {}
|
||||
|
||||
@@ -93,6 +96,7 @@ export class ManagerRegistry {
|
||||
this.engineInfo = null;
|
||||
this.componentDetail = null;
|
||||
this.aiChat = null;
|
||||
this.setting = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user