[UI] Disable showing notifications while making screenshot

This commit is contained in:
Gliniak
2025-02-25 21:36:15 +01:00
parent 78f97f8ff3
commit c373208c97
3 changed files with 9 additions and 1 deletions

View File

@@ -503,7 +503,7 @@ void ImGuiDrawer::Draw(UIDrawContext& ui_draw_context) {
}
dialog_loop_next_index_ = SIZE_MAX;
if (!notifications_.empty()) {
if (!notifications_.empty() && are_notifications_enabled_) {
std::vector<ui::ImGuiNotification*> guest_notifications = {};
std::vector<ui::ImGuiNotification*> host_notifications = {};