Open asset in the scene object menu: the context menu of a scene object row has an Open asset entry below Select asset that does the same as a double click on the asset in the asset panel, so it selects the asset and opens its tab; kinds without an editor of their own (sprite, camera, text, collider) are only selected, just like the double click there; e2e 01 right clicks a behavior row and checks the open tab (#176)
game-maker / gate (push) Successful in 2m0s
game-maker / suite (push) Successful in 6m54s

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 5 committed 2026-09-20 10:16:37 +02:00
1 parent e3ebf44593
commit 4b5b91eaaa
3 files changed
+23 -2

No files matched your search

+5
View File
@@ -174,6 +174,11 @@ export class HierarchyPanel extends Panel {
label: 'Select asset',
onSelect: () => object && state.select({ kind: 'asset', assetId: object.assetId }),
},
{
// The same as double-clicking the asset in the asset panel: selects it and opens its tab.
label: 'Open asset',
onSelect: () => object && state.openAsset(object.assetId),
},
{
label: 'Add collider',
disabled: !object || !source || many || !canAddCollider(state.project, source, object),