@forgeax/interface 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -146,33 +146,10 @@ export const builtinMenusExtension = {
|
|
|
146
146
|
labelKey: 'menu.window.fullscreen', icon: 'maximize',
|
|
147
147
|
commandId: 'app.set_fullscreen', args: { value: true } },
|
|
148
148
|
// ─── BUILD ────────────────────────────────────────────────────────────
|
|
149
|
-
// reload: `editor.reloadPreview` currently only emits `preview:reload` on
|
|
150
|
-
// the bus with no consumer wired — clicking would silently no-op (a
|
|
151
|
-
// mock-success path, forbidden by the no-silent-fallback rule). Leave the
|
|
152
|
-
// menu item DISABLED (no commandId) until a listener lands in a standalone-application owner.
|
|
153
|
-
{ id: 'build.reload', menu: 'build', group: 'run', order: 40,
|
|
154
|
-
labelKey: 'menu.build.reload', icon: 'refresh-cw' },
|
|
155
149
|
{ id: 'build.export', menu: 'build', group: 'export', order: 10,
|
|
156
150
|
labelKey: 'menu.build.export', icon: 'package' },
|
|
157
151
|
{ id: 'build.settings', menu: 'build', group: 'export', order: 20,
|
|
158
152
|
labelKey: 'menu.build.settings', icon: 'settings' },
|
|
159
|
-
// ─── SELECT ───────────────────────────────────────────────────────────
|
|
160
|
-
{ id: 'select.invert', menu: 'select', group: 'basic', order: 30,
|
|
161
|
-
labelKey: 'menu.select.invert', icon: 'flip-horizontal-2' },
|
|
162
|
-
{ id: 'select.byType', menu: 'select', group: 'byCond', order: 10,
|
|
163
|
-
labelKey: 'menu.select.byType', icon: 'shapes',
|
|
164
|
-
children: [
|
|
165
|
-
{ id: 'select.byType.mesh', menu: 'select', group: 'byCond', order: 10,
|
|
166
|
-
labelKey: 'menu.select.byType.mesh' },
|
|
167
|
-
{ id: 'select.byType.light', menu: 'select', group: 'byCond', order: 20,
|
|
168
|
-
labelKey: 'menu.select.byType.light' },
|
|
169
|
-
{ id: 'select.byType.camera', menu: 'select', group: 'byCond', order: 30,
|
|
170
|
-
labelKey: 'menu.select.byType.camera' },
|
|
171
|
-
{ id: 'select.byType.collider', menu: 'select', group: 'byCond', order: 40,
|
|
172
|
-
labelKey: 'menu.select.byType.collider' },
|
|
173
|
-
] },
|
|
174
|
-
{ id: 'select.marquee', menu: 'select', group: 'byCond', order: 20,
|
|
175
|
-
labelKey: 'menu.select.marquee', icon: 'scan' },
|
|
176
153
|
// ─── HELP ─────────────────────────────────────────────────────────────
|
|
177
154
|
{ id: 'help.docs', menu: 'help', group: 'docs', order: 10,
|
|
178
155
|
labelKey: 'menu.help.docs', icon: 'book-open',
|
|
@@ -146,33 +146,10 @@ export const builtinMenusExtension = {
|
|
|
146
146
|
labelKey: 'menu.window.fullscreen', icon: 'maximize',
|
|
147
147
|
commandId: 'app.set_fullscreen', args: { value: true } },
|
|
148
148
|
// ─── BUILD ────────────────────────────────────────────────────────────
|
|
149
|
-
// reload: `editor.reloadPreview` currently only emits `preview:reload` on
|
|
150
|
-
// the bus with no consumer wired — clicking would silently no-op (a
|
|
151
|
-
// mock-success path, forbidden by the no-silent-fallback rule). Leave the
|
|
152
|
-
// menu item DISABLED (no commandId) until a listener lands in a standalone-application owner.
|
|
153
|
-
{ id: 'build.reload', menu: 'build', group: 'run', order: 40,
|
|
154
|
-
labelKey: 'menu.build.reload', icon: 'refresh-cw' },
|
|
155
149
|
{ id: 'build.export', menu: 'build', group: 'export', order: 10,
|
|
156
150
|
labelKey: 'menu.build.export', icon: 'package' },
|
|
157
151
|
{ id: 'build.settings', menu: 'build', group: 'export', order: 20,
|
|
158
152
|
labelKey: 'menu.build.settings', icon: 'settings' },
|
|
159
|
-
// ─── SELECT ───────────────────────────────────────────────────────────
|
|
160
|
-
{ id: 'select.invert', menu: 'select', group: 'basic', order: 30,
|
|
161
|
-
labelKey: 'menu.select.invert', icon: 'flip-horizontal-2' },
|
|
162
|
-
{ id: 'select.byType', menu: 'select', group: 'byCond', order: 10,
|
|
163
|
-
labelKey: 'menu.select.byType', icon: 'shapes',
|
|
164
|
-
children: [
|
|
165
|
-
{ id: 'select.byType.mesh', menu: 'select', group: 'byCond', order: 10,
|
|
166
|
-
labelKey: 'menu.select.byType.mesh' },
|
|
167
|
-
{ id: 'select.byType.light', menu: 'select', group: 'byCond', order: 20,
|
|
168
|
-
labelKey: 'menu.select.byType.light' },
|
|
169
|
-
{ id: 'select.byType.camera', menu: 'select', group: 'byCond', order: 30,
|
|
170
|
-
labelKey: 'menu.select.byType.camera' },
|
|
171
|
-
{ id: 'select.byType.collider', menu: 'select', group: 'byCond', order: 40,
|
|
172
|
-
labelKey: 'menu.select.byType.collider' },
|
|
173
|
-
] },
|
|
174
|
-
{ id: 'select.marquee', menu: 'select', group: 'byCond', order: 20,
|
|
175
|
-
labelKey: 'menu.select.marquee', icon: 'scan' },
|
|
176
153
|
// ─── HELP ─────────────────────────────────────────────────────────────
|
|
177
154
|
{ id: 'help.docs', menu: 'help', group: 'docs', order: 10,
|
|
178
155
|
labelKey: 'menu.help.docs', icon: 'book-open',
|