mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 06:03:51 +00:00
Allow cancelling pending connection.
This commit is contained in:
parent
c3ba314700
commit
63f0dd72a5
@ -526,8 +526,9 @@ bool View::DrawImpl()
|
|||||||
TextCentered( ICON_FA_WIFI );
|
TextCentered( ICON_FA_WIFI );
|
||||||
#endif
|
#endif
|
||||||
ImGui::Text( "Waiting for connection..." );
|
ImGui::Text( "Waiting for connection..." );
|
||||||
|
bool wasCancelled = ImGui::Button( "Cancel" );
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
return true;
|
return !wasCancelled;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !m_frames ) m_frames = m_worker.GetFramesBase();
|
if( !m_frames ) m_frames = m_worker.GetFramesBase();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user