1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

No need for two same check.

This commit is contained in:
Bartosz Taudul 2020-01-24 02:16:29 +01:00
parent cf07e2564d
commit ad3f37aec6

View File

@ -6321,11 +6321,8 @@ void View::DrawZoneInfoWindow()
} }
ImGui::TreePop(); ImGui::TreePop();
} }
}
if( ev.Child() >= 0 ) expand = ImGui::TreeNode( "Time distribution" );
{
bool expand = ImGui::TreeNode( "Time distribution" );
if( expand ) if( expand )
{ {
ImGui::SameLine(); ImGui::SameLine();