|
|
|
@ -205,11 +205,18 @@ namespace editor
|
|
|
|
ImGui::Text("%s", (*iter)->GetFileLocation().stem().string().c_str());
|
|
|
|
ImGui::Text("%s", (*iter)->GetFileLocation().stem().string().c_str());
|
|
|
|
ImGui::EndDragDropSource();
|
|
|
|
ImGui::EndDragDropSource();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (ImGui::IsItemHovered() && ImGui::IsMouseDoubleClicked(ImGuiMouseButton_Left))
|
|
|
|
if (ImGui::IsItemHovered() && ImGui::IsMouseDoubleClicked(ImGuiMouseButton_Left))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// TODO: Open relevant editor
|
|
|
|
// TODO: Open relevant editor
|
|
|
|
Logger::Info(Editor::LogCat, "Asset double clicked on. Relevant editor should open!");
|
|
|
|
Logger::Info(Editor::LogCat, "Asset double clicked on. Relevant editor should open!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (ImGui::IsItemHovered() && ImGui::IsMouseClicked(ImGuiMouseButton_Right))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: CONTEXT MENU FOR ITEMS - Test Removing/Trashing
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
DoContentContextMenu();
|
|
|
|
DoContentContextMenu();
|
|
|
|
|