diff --git a/src/single_window/title_bar.cpp b/src/single_window/title_bar.cpp index f74a907..74937e4 100644 --- a/src/single_window/title_bar.cpp +++ b/src/single_window/title_bar.cpp @@ -22,24 +22,26 @@ int Render::TitleBar() { ImGui::PushStyleColor(ImGuiCol_HeaderHovered, ImVec4(0, 0, 0, 0.1f)); ImGui::PushStyleColor(ImGuiCol_HeaderActive, ImVec4(1.0f, 1.0f, 1.0f, 1.0f)); - if (ImGui::BeginMenu(ICON_FA_BARS)) { - ImGui::SetWindowFontScale(0.5f); - if (ImGui::MenuItem( - localization::settings[localization_language_index_].c_str())) { - show_settings_window_ = true; + if (!streaming_) { + if (ImGui::BeginMenu(ICON_FA_BARS)) { + ImGui::SetWindowFontScale(0.5f); + if (ImGui::MenuItem( + localization::settings[localization_language_index_].c_str())) { + show_settings_window_ = true; + } + if (ImGui::MenuItem( + localization::about[localization_language_index_].c_str())) { + show_about_window_ = true; + } + ImGui::SetWindowFontScale(1.0f); + ImGui::EndMenu(); } - if (ImGui::MenuItem( - localization::about[localization_language_index_].c_str())) { - show_about_window_ = true; - } - ImGui::SetWindowFontScale(1.0f); - ImGui::EndMenu(); - } - ImGui::PopStyleColor(2); + ImGui::PopStyleColor(2); - { - SettingWindow(); - AboutWindow(); + { + SettingWindow(); + AboutWindow(); + } } ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0, 0, 0, 0)); diff --git a/thirdparty/projectx b/thirdparty/projectx index 9e30203..4624d4f 160000 --- a/thirdparty/projectx +++ b/thirdparty/projectx @@ -1 +1 @@ -Subproject commit 9e30203e90e91962ec1e20395ebba31e353e96a1 +Subproject commit 4624d4f27f63691cf96ab7b7c22cbdff6841fa22