Commit b96e1dca authored by Gauthier Quesnel's avatar Gauthier Quesnel Committed by Gauthier Quesnel
Browse files

gui: remove auto resize windows for load/save box

parent 8910e44d
......@@ -242,9 +242,7 @@ load_file_dialog(std::filesystem::path& out)
std::filesystem::path next;
bool res = false;
if (ImGui::BeginPopupModal("Select file path to load",
nullptr,
ImGuiWindowFlags_AlwaysAutoResize)) {
if (ImGui::BeginPopupModal("Select file path to load")) {
bool path_click = false;
fd.show_drives(&path_click, &next);
......@@ -366,9 +364,7 @@ save_file_dialog(std::filesystem::path& out)
std::filesystem::path next;
bool res = false;
if (ImGui::BeginPopupModal("Select file path to save",
nullptr,
ImGuiWindowFlags_AlwaysAutoResize)) {
if (ImGui::BeginPopupModal("Select file path to save")) {
bool path_click = false;
fd.show_drives(&path_click, &next);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment