feat: add camera switch, fix click event/dialog resize/map state sync

- fix(engine): adapt click handler to base engine array format data[0].url/ids
- feat(toolbar): add perspective/orthographic camera switch button with dynamic icon
- fix(dialog): clamp resize to container bounds to prevent overflow
- feat(demo): add auto-combine feature with robust URL parsing and validation
- fix(walk): close minimap on walk exit and sync map state between toolbar and walk panel
- fix(engine): correct MiniMap getstate() casing to match base engine API
- build: rebuild demo libs
This commit is contained in:
yuding
2026-03-05 17:43:50 +08:00
parent b96e5f3262
commit 507112fcf9
18 changed files with 6890 additions and 6501 deletions

View File

@@ -25,7 +25,8 @@ export const enUS: TranslationDictionary = {
section: 'Section',
sectionPlane: 'Plane Section',
sectionAxis: 'Axis Section',
sectionBox: 'Section Box'
sectionBox: 'Section Box',
cameraSwitch: 'Camera',
},
dialog: {
testTitle: 'Test Dialog',

View File

@@ -29,6 +29,7 @@ export interface TranslationDictionary {
sectionPlane: string;
sectionAxis: string;
sectionBox: string;
cameraSwitch: string;
};
panel: {
property: {

View File

@@ -25,7 +25,8 @@ export const zhCN: TranslationDictionary = {
section: '剖切',
sectionPlane: '拾取面剖切',
sectionAxis: '轴向剖切',
sectionBox: '剖切盒'
sectionBox: '剖切盒',
cameraSwitch: '相机切换',
},
dialog: {
testTitle: '测试弹窗',