Saving prefab from prefab editor now works
This commit is contained in:
@@ -68,7 +68,8 @@ void EditorSelectionPanel::ResolveFile(Ref<Nuake::File> file)
|
||||
|
||||
void EditorSelectionPanel::Draw(EditorSelection selection, const std::string& id)
|
||||
{
|
||||
if (ImGui::Begin(std::string("Properties##" + id).c_str()))
|
||||
const std::string& windowID = id.empty() ? "Properties" : std::string("Properties##" + id);
|
||||
if (ImGui::Begin(windowID.c_str()))
|
||||
{
|
||||
switch (selection.Type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user