windows fixes

This commit is contained in:
2025-12-12 23:17:06 -08:00
parent 94a3371509
commit 61275d9e75
9 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -745,7 +745,7 @@ namespace anm2ed::imgui
if (dialog.is_selected(dialog::FFMPEG_PATH_SET))
{
ffmpegPath = dialog.path;
ffmpegPath = dialog.path.string();
dialog.reset();
}
@@ -763,7 +763,7 @@ namespace anm2ed::imgui
if (dialog.is_selected(dialogType))
{
path = dialog.path;
path = dialog.path.string();
dialog.reset();
}
+2 -2
View File
@@ -210,7 +210,7 @@ namespace anm2ed::imgui
bool isValid = sound.is_valid();
auto& soundIcon = isValid ? resources.icons[icon::SOUND] : resources.icons[icon::NONE];
auto tintColor = !isValid ? ImVec4(1.0f, 0.25f, 0.25f, 1.0f) : ImVec4(1.0f, 1.0f, 1.0f, 1.0f);
auto pathCStr = sound.path.c_str();
auto pathCStr = sound.path.string().c_str();
ImGui::SetNextItemSelectionUserData(id);
ImGui::SetNextItemStorageID(id);
@@ -236,7 +236,7 @@ namespace anm2ed::imgui
if (ImGui::BeginItemTooltip())
{
ImGui::PushFont(resources.fonts[font::BOLD].get(), font::SIZE);
ImGui::TextUnformatted(sound.path.c_str());
ImGui::TextUnformatted(pathCStr);
ImGui::PopFont();
ImGui::Text("%s: %d", localize.get(BASIC_ID), id);
if (!isValid)