feat(menu): add cancel translucent option to right-click menu

- Add cancelTranslucent i18n translations (zh-CN: 取消半透明, en-US: Cancel Translucent)
- Add unTranslucentModel() method to Engine layer
- Add unTranslucentModel() proxy to EngineManager
- Add menu item after 'Transparent Selected' (order: 4)
- Update menu item order numbers (5-8)
This commit is contained in:
yuding
2026-02-04 15:10:51 +08:00
parent 89783d0a9b
commit ad19934e19
5 changed files with 41 additions and 8 deletions

View File

@@ -37,6 +37,7 @@ export const enUS: TranslationDictionary = {
componentDetail: 'Component Detail',
hideSelected: 'Hide Selected',
transparentSelected: 'Transparent Selected',
cancelTranslucent: 'Cancel Translucent',
isolateSelected: 'Isolate Selected',
hideOthers: 'Hide Others',
transparentOthers: 'Transparent Others',

View File

@@ -56,6 +56,7 @@ export interface TranslationDictionary {
componentDetail: string;
hideSelected: string;
transparentSelected: string;
cancelTranslucent: string;
isolateSelected: string;
hideOthers: string;
transparentOthers: string;

View File

@@ -37,6 +37,7 @@ export const zhCN: TranslationDictionary = {
componentDetail: '构件详情',
hideSelected: '隐藏选中构件',
transparentSelected: '半透明选中构件',
cancelTranslucent: '取消半透明',
isolateSelected: '隔离选中构件',
hideOthers: '其他构件隐藏',
transparentOthers: '其他构件半透明',