mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Actually set self time option, if required.
This commit is contained in:
parent
d6aa814de5
commit
1650d371e6
@ -11826,6 +11826,7 @@ void View::DrawStatistics()
|
|||||||
{
|
{
|
||||||
ImGui::PushItemFlag( ImGuiItemFlags_Disabled, true );
|
ImGui::PushItemFlag( ImGuiItemFlags_Disabled, true );
|
||||||
ImGui::PushStyleVar( ImGuiStyleVar_Alpha, ImGui::GetStyle().Alpha * 0.5f );
|
ImGui::PushStyleVar( ImGuiStyleVar_Alpha, ImGui::GetStyle().Alpha * 0.5f );
|
||||||
|
m_statSelf = true;
|
||||||
bool val = true;
|
bool val = true;
|
||||||
ImGui::Checkbox( ICON_FA_CLOCK " Self time", &val );
|
ImGui::Checkbox( ICON_FA_CLOCK " Self time", &val );
|
||||||
ImGui::PopItemFlag();
|
ImGui::PopItemFlag();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user