mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Fix notifications disappearing after a long UI lock.
This commit is contained in:
parent
fe71ae3272
commit
ab830962c8
@ -1365,7 +1365,7 @@ void View::DrawNotificationArea()
|
|||||||
}
|
}
|
||||||
else if( m_notificationTime > 0 )
|
else if( m_notificationTime > 0 )
|
||||||
{
|
{
|
||||||
m_notificationTime -= io.DeltaTime;
|
m_notificationTime -= std::min( io.DeltaTime, 0.25f );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
TextDisabledUnformatted( m_notificationText.c_str() );
|
TextDisabledUnformatted( m_notificationText.c_str() );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user