feat: upgrade to v1.3.2 with settings panel overhaul, clear height enhancements and bug fixes
- Overhaul settings dialog: add edge line toggle, contrast/saturation/light intensity sliders, environment and ground type selectors - Add clear height measurement options: direction (up/down) and select type (point/element) with radio button UI - Fix right-click context menu triggering during model drag rotation (add move threshold) - Fix measure dialog event listener leak (on → off for cleanup) - Update mini map API to use engine.minMap.toggle() - Replace text-based measure icons with proper SVG assets (净高/净距/坐标/面积) - Add i18n keys for all new settings and clear height options (zh-CN / en-US) - Bump iflow-engine-base dependency to ^2.0.5 - Rebuild dist and sync demo libs
This commit is contained in:
@@ -119,6 +119,14 @@ export const enUS: TranslationDictionary = {
|
||||
hint: 'Distance, clear distance, clear height and elevation use this unit by default; angle and area use their own units.',
|
||||
save: 'Save',
|
||||
cancel: 'Cancel',
|
||||
},
|
||||
clearHeight: {
|
||||
direction: 'Direction:',
|
||||
directionDown: 'Down',
|
||||
directionUp: 'Up',
|
||||
selectType: 'Select:',
|
||||
selectPoint: 'Point',
|
||||
selectElement: 'Element',
|
||||
}
|
||||
},
|
||||
sectionPlane: {
|
||||
@@ -217,6 +225,29 @@ export const enUS: TranslationDictionary = {
|
||||
simple: 'Performance',
|
||||
balance: 'Balanced',
|
||||
advanced: 'Quality',
|
||||
}
|
||||
},
|
||||
edgeLine: 'Edge Lines',
|
||||
ground: 'Ground',
|
||||
groundSize: 'Size',
|
||||
groundTypes: {
|
||||
none: 'None',
|
||||
concrete: 'Concrete',
|
||||
grass: 'Grass',
|
||||
tile: 'Tile',
|
||||
water: 'Water',
|
||||
wood: 'Wood',
|
||||
},
|
||||
contrast: 'Contrast',
|
||||
saturation: 'Saturation',
|
||||
lightIntensity: 'Light Intensity',
|
||||
environment: 'Environment',
|
||||
environments: {
|
||||
default: 'Default',
|
||||
outdoor: 'Outdoor',
|
||||
indoor: 'Indoor',
|
||||
night: 'Night',
|
||||
overcast: 'Overcast',
|
||||
studio: 'Studio',
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
@@ -131,6 +131,14 @@ export interface TranslationDictionary {
|
||||
save: string;
|
||||
cancel: string;
|
||||
};
|
||||
clearHeight: {
|
||||
direction: string;
|
||||
directionDown: string;
|
||||
directionUp: string;
|
||||
selectType: string;
|
||||
selectPoint: string;
|
||||
selectElement: string;
|
||||
};
|
||||
};
|
||||
sectionPlane: {
|
||||
dialogTitle: string;
|
||||
@@ -233,12 +241,42 @@ export interface TranslationDictionary {
|
||||
};
|
||||
setting: {
|
||||
dialogTitle: string;
|
||||
/** 渲染模式 */
|
||||
renderMode: string;
|
||||
modes: {
|
||||
simple: string;
|
||||
balance: string;
|
||||
advanced: string;
|
||||
};
|
||||
/** 边线 */
|
||||
edgeLine: string;
|
||||
/** 显示地面 */
|
||||
ground: string;
|
||||
groundSize: string;
|
||||
groundTypes: {
|
||||
none: string;
|
||||
concrete: string;
|
||||
grass: string;
|
||||
tile: string;
|
||||
water: string;
|
||||
wood: string;
|
||||
};
|
||||
/** 对比度 */
|
||||
contrast: string;
|
||||
/** 饱和度 */
|
||||
saturation: string;
|
||||
/** 光照强度 */
|
||||
lightIntensity: string;
|
||||
/** 环境背景 */
|
||||
environment: string;
|
||||
environments: {
|
||||
default: string;
|
||||
outdoor: string;
|
||||
indoor: string;
|
||||
night: string;
|
||||
overcast: string;
|
||||
studio: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -119,6 +119,14 @@ export const zhCN: TranslationDictionary = {
|
||||
hint: '距离、净距、净高和标高默认使用该单位;角度和面积有各自默认单位。',
|
||||
save: '保存设置',
|
||||
cancel: '取消',
|
||||
},
|
||||
clearHeight: {
|
||||
direction: '朝向:',
|
||||
directionDown: '朝下',
|
||||
directionUp: '朝上',
|
||||
selectType: '选择对象:',
|
||||
selectPoint: '选择点',
|
||||
selectElement: '选择构件',
|
||||
}
|
||||
},
|
||||
sectionPlane: {
|
||||
@@ -217,6 +225,29 @@ export const zhCN: TranslationDictionary = {
|
||||
simple: '性能模式',
|
||||
balance: '平衡模式',
|
||||
advanced: '效果模式',
|
||||
}
|
||||
},
|
||||
edgeLine: '边线',
|
||||
ground: '显示地面',
|
||||
groundSize: '大小',
|
||||
groundTypes: {
|
||||
none: '无',
|
||||
concrete: '混凝土',
|
||||
grass: '草地',
|
||||
tile: '瓷砖',
|
||||
water: '水面',
|
||||
wood: '木地板',
|
||||
},
|
||||
contrast: '对比度',
|
||||
saturation: '饱和度',
|
||||
lightIntensity: '光照强度',
|
||||
environment: '环境背景',
|
||||
environments: {
|
||||
default: '默认',
|
||||
outdoor: '室外',
|
||||
indoor: '室内',
|
||||
night: '夜晚',
|
||||
overcast: '阴天',
|
||||
studio: '工作室',
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user