Added shortcut to open resource in component widgets

This commit is contained in:
antopilo
2024-11-21 22:14:14 -05:00
parent 4ab59bf7e8
commit 84b2b63ba9
7 changed files with 45 additions and 19 deletions

View File

@@ -33,13 +33,14 @@ class EditorSelectionPanel
private:
TransformPanel mTransformPanel;
MeshPanel meshPanel;
EditorSelection* selection = nullptr;
Ref<Nuake::File> currentFile;
Ref<Nuake::Resource> selectedResource;
Ref<Nuake::Scene> virtualScene;
public:
EditorSelectionPanel();
EditorSelectionPanel(EditorSelection& selection);
void Draw(EditorSelection selection, const std::string& id = "");