diff --git a/src/xenia/app/emulator_window.cc b/src/xenia/app/emulator_window.cc index 916c2bd1d..409810f35 100644 --- a/src/xenia/app/emulator_window.cc +++ b/src/xenia/app/emulator_window.cc @@ -322,6 +322,7 @@ void EmulatorWindow::DisplayConfigDialog::OnDraw(ImGuiIO& io) { // In the top-left corner so it's close to the menu bar from where it was // opened. // Origin Y coordinate 20 was taken from the Dear ImGui demo. + ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, 6.0f); ImGui::SetNextWindowPos(ImVec2(20, 20), ImGuiCond_FirstUseEver); ImGui::SetNextWindowSize(ImVec2(20, 20), ImGuiCond_FirstUseEver); // Alpha from Dear ImGui tooltips (0.35 from the overlay provides too low diff --git a/src/xenia/app/profile_dialogs.cc b/src/xenia/app/profile_dialogs.cc index 2d623d906..d52d0bac1 100644 --- a/src/xenia/app/profile_dialogs.cc +++ b/src/xenia/app/profile_dialogs.cc @@ -97,6 +97,7 @@ void NoProfileDialog::OnDraw(ImGuiIO& io) { const auto window_position = ImVec2(GetIO().DisplaySize.x * 0.35f, GetIO().DisplaySize.y * 0.4f); + ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, 6.0f); ImGui::SetNextWindowPos(window_position, ImGuiCond_FirstUseEver); ImGui::SetNextWindowBgAlpha(1.0f); @@ -166,6 +167,7 @@ void ProfileConfigDialog::OnDraw(ImGuiIO& io) { auto profiles = profile_manager->GetProfiles(); + ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, 6.0f); ImGui::SetNextWindowPos(ImVec2(40, 40), ImGuiCond_FirstUseEver); ImGui::SetNextWindowBgAlpha(0.8f);