From e41deb1ff6dc6baf50357440a3835dcf505e7db0 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 3 Sep 2022 23:43:26 +0200 Subject: [PATCH] Check item map too for hidden items. --- server/TracyView_NotificationArea.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/server/TracyView_NotificationArea.cpp b/server/TracyView_NotificationArea.cpp index 11fb84cd..c3413ca8 100644 --- a/server/TracyView_NotificationArea.cpp +++ b/server/TracyView_NotificationArea.cpp @@ -197,6 +197,18 @@ void View::DrawNotificationArea() break; } } + if( !hidden ) + { + for( auto& v : m_tc.GetItemMap() ) + { + if( !v.second->IsVisible() ) + { + hidden = true; + break; + } + } + } + if( hidden ) { ImGui::SameLine();