mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Improve "no wait stacks" view.
This commit is contained in:
parent
8a7f540d7c
commit
1ab0b5abd2
@ -508,7 +508,11 @@ void View::DrawWaitStacks()
|
|||||||
ImGui::BeginChild( "##waitstacks" );
|
ImGui::BeginChild( "##waitstacks" );
|
||||||
if( stacks.empty() )
|
if( stacks.empty() )
|
||||||
{
|
{
|
||||||
ImGui::TextUnformatted( "No wait stacks to display." );
|
ImGui::PushFont( m_bigFont );
|
||||||
|
ImGui::Dummy( ImVec2( 0, ( ImGui::GetContentRegionAvail().y - ImGui::GetTextLineHeight() * 2 ) * 0.5f ) );
|
||||||
|
TextCentered( ICON_FA_KIWI_BIRD );
|
||||||
|
TextCentered( "No wait stacks to display" );
|
||||||
|
ImGui::PopFont();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user