From ab830962c877f3c9ea0b26c0e19d9b0ef5adc103 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 15 May 2021 14:21:45 +0200 Subject: [PATCH] Fix notifications disappearing after a long UI lock. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 263f0c02..dea19863 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1365,7 +1365,7 @@ void View::DrawNotificationArea() } else if( m_notificationTime > 0 ) { - m_notificationTime -= io.DeltaTime; + m_notificationTime -= std::min( io.DeltaTime, 0.25f ); ImGui::SameLine(); TextDisabledUnformatted( m_notificationText.c_str() ); }