Can now reparent prefab with drag n drop

This commit is contained in:
antopilo
2024-09-21 13:02:36 -04:00
parent ef6e7ac0dc
commit 29b35a6932

View File

@@ -861,7 +861,8 @@ namespace Nuake {
{
ImGui::PopStyleColor();
}
else if (!m_IsRenaming && ImGui::BeginDragDropSource())
if (!m_IsRenaming && ImGui::BeginDragDropSource())
{
ImGui::SetDragDropPayload("ENTITY", (void*)&e, sizeof(Entity));
ImGui::Text(name.c_str());