mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Better "please wait" view in compare window.
This commit is contained in:
parent
39ee307409
commit
05d00388ed
@ -280,7 +280,12 @@ void View::DrawCompare()
|
|||||||
|
|
||||||
if( !m_worker.AreSourceLocationZonesReady() || !m_compare.second->AreSourceLocationZonesReady() )
|
if( !m_worker.AreSourceLocationZonesReady() || !m_compare.second->AreSourceLocationZonesReady() )
|
||||||
{
|
{
|
||||||
ImGui::TextWrapped( "Please wait, computing data..." );
|
const auto ty = ImGui::GetTextLineHeight();
|
||||||
|
ImGui::PushFont( m_bigFont );
|
||||||
|
ImGui::Dummy( ImVec2( 0, ( ImGui::GetContentRegionAvail().y - ImGui::GetTextLineHeight() * 2 - ty ) * 0.5f ) );
|
||||||
|
TextCentered( ICON_FA_FROG );
|
||||||
|
TextCentered( "Please wait, computing data..." );
|
||||||
|
ImGui::PopFont();
|
||||||
DrawWaitingDots( s_time );
|
DrawWaitingDots( s_time );
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user