diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-09-04 00:43:26 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-09-04 00:43:26 +0300 |
commit | e41deb1ff6dc6baf50357440a3835dcf505e7db0 (patch) | |
tree | c90bd468bf9d96e00679199cfe62b15122c0ddde /server | |
parent | 10faf16aee88b904f3ac122913b161f440c716ab (diff) |
Check item map too for hidden items.
Diffstat (limited to 'server')
-rw-r--r-- | server/TracyView_NotificationArea.cpp | 12 |
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(); |