mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
No connections allowed on emscripten.
This commit is contained in:
parent
20905406da
commit
00f7beee43
@ -964,7 +964,14 @@ static void DrawContents()
|
||||
ImGui::EndCombo();
|
||||
}
|
||||
}
|
||||
#ifdef __EMSCRIPTEN__
|
||||
ImGui::BeginDisabled();
|
||||
#endif
|
||||
connectClicked |= ImGui::Button( ICON_FA_WIFI " Connect" );
|
||||
#ifdef __EMSCRIPTEN__
|
||||
ImGui::EndDisabled();
|
||||
connectClicked = false;
|
||||
#endif
|
||||
if( connectClicked && *addr && !loadThread.joinable() )
|
||||
{
|
||||
auto aptr = addr;
|
||||
|
Loading…
Reference in New Issue
Block a user