mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14: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 );
|
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…
Reference in New Issue
Block a user