Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-09-04 00:43:26 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-09-04 00:43:26 +0300
commite41deb1ff6dc6baf50357440a3835dcf505e7db0 (patch)
treec90bd468bf9d96e00679199cfe62b15122c0ddde /server
parent10faf16aee88b904f3ac122913b161f440c716ab (diff)
Check item map too for hidden items.
Diffstat (limited to 'server')
-rw-r--r--server/TracyView_NotificationArea.cpp12
1 files changed, 12 insertions, 0 deletions
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();