linux fix
This commit is contained in:
parent
19e8afde62
commit
055873f0c0
2 changed files with 2 additions and 2 deletions
|
@ -470,7 +470,7 @@ void AssetBrowser::fileColumn()
|
|||
if (ImGui::IsItemHovered()) ImGui::SetTooltip("%s", tile.filepath.data);
|
||||
if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_SourceAllowNullID))
|
||||
{
|
||||
ImGui::Text(tile.filepath);
|
||||
ImGui::Text("%s", tile.filepath);
|
||||
ImGui::SetDragDropPayload("path", tile.filepath, stringLength(tile.filepath) + 1, ImGuiCond_Once);
|
||||
ImGui::EndDragDropSource();
|
||||
}
|
||||
|
|
|
@ -1246,7 +1246,7 @@ public:
|
|||
}
|
||||
if (ImGui::BeginDragDropSource())
|
||||
{
|
||||
ImGui::Text(buffer);
|
||||
ImGui::Text("%s", buffer);
|
||||
ImGui::SetDragDropPayload("entity", &entity, sizeof(entity));
|
||||
ImGui::EndDragDropSource();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue