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

@@ -305,7 +305,7 @@ void PrefabEditorWindow::Draw()
}
ImGui::End();
SelectionPanel.Draw(Selection, prefab->Path);
SelectionPanel->Draw(Selection, prefab->Path);
DrawViewportWindow();
}

View File

@@ -36,7 +36,7 @@ private:
bool isRenaming;
bool isInitialized = false;
EditorSelectionPanel SelectionPanel;
EditorSelectionPanel* SelectionPanel;
EditorSelection Selection;
Nuake::Entity QueueDeletion;
ImGuizmo::OPERATION CurrentOperation = ImGuizmo::TRANSLATE;