mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +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 );
|
||||
#endif
|
||||
ImGui::Text( "Waiting for connection..." );
|
||||
bool wasCancelled = ImGui::Button( "Cancel" );
|
||||
ImGui::End();
|
||||
return true;
|
||||
return !wasCancelled;
|
||||
}
|
||||
|
||||
if( !m_frames ) m_frames = m_worker.GetFramesBase();
|
||||
|
Loading…
Reference in New Issue
Block a user