mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Show message in find zone window when no zones were collected.
This commit is contained in:
parent
796f09ef23
commit
429de331d6
@ -275,6 +275,16 @@ void View::DrawFindZone()
|
|||||||
ImGui::End();
|
ImGui::End();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if( m_worker.GetZoneCount() == 0 )
|
||||||
|
{
|
||||||
|
ImGui::PushFont( m_bigFont );
|
||||||
|
ImGui::Dummy( ImVec2( 0, ( ImGui::GetContentRegionAvail().y - ImGui::GetTextLineHeight() * 2 ) * 0.5f ) );
|
||||||
|
TextCentered( ICON_FA_CROW );
|
||||||
|
TextCentered( "No zones were collected" );
|
||||||
|
ImGui::PopFont();
|
||||||
|
ImGui::End();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
bool findClicked = false;
|
bool findClicked = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user