0
0
mirror of https://github.com/wolfpld/tracy.git synced 2026-01-18 17:11:26 +01:00

Fake a progress indicator.

This commit is contained in:
Bartosz Taudul
2026-01-11 20:42:13 +01:00
parent 3008cb8ad7
commit b53e10b25e

View File

@@ -171,8 +171,10 @@ void View::DrawCallstackTable( uint32_t callstack, bool globalEntriesButton )
ImGui::SameLine();
ImGui::SeparatorEx( ImGuiSeparatorFlags_Vertical );
ImGui::SameLine();
bool clicked = false;
if( ImGui::SmallButton( ICON_FA_TAG ) )
{
clicked = true;
nlohmann::json req = {
{
{ "role", "system" },
@@ -236,6 +238,11 @@ void View::DrawCallstackTable( uint32_t callstack, bool globalEntriesButton )
{
ImGui::SameLine();
ImGui::TextUnformatted( it->second.c_str() );
if( clicked ) it->second = "";
}
else if( clicked )
{
m_callstackDesc.emplace( callstack, "" );
}
}
#endif