Skip to content

Commit 5bf53c1

Browse files
committed
Fix formatting issues
1 parent d1bb306 commit 5bf53c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎profiler/src/profiler/TracyView_ZoneTimeline.cpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ void View::DrawThread( const TimelineContext& ctx, const ThreadData& thread, con
5656
}
5757

5858
const auto yPos = wpos.y + offset;
59-
const float cropperWidth = ImGui::CalcTextSize(ICON_FA_CARET_DOWN).x;
60-
const float cropperCircleRadius = (cropperWidth - 2.0f * GetScale() ) / 2.0f ;
59+
const float cropperWidth = ImGui::CalcTextSize( ICON_FA_CARET_DOWN ).x;
60+
const float cropperCircleRadius = ( cropperWidth - 2.0f * GetScale() ) / 2.0f ;
6161
const float cropperAdditionalMargin = cropperWidth + wpos.x; // We add the left window margin for symmetry
6262

6363
// Display cropper if currently limited or if hovering the cropper area
64-
const auto threadDepthLimitIt = m_threadDepthLimit.find(thread.id);
64+
const auto threadDepthLimitIt = m_threadDepthLimit.find( thread.id );
6565
const bool displayCropper = ( threadDepthLimitIt != m_threadDepthLimit.end() && threadDepthLimitIt->second <= depth )
6666
|| ( ImGui::GetMousePos().x < wpos.x + cropperAdditionalMargin );
6767

@@ -663,7 +663,7 @@ int View::DrawThreadCropper( const int depth, const uint64_t tid, const float xP
663663
int lane = hasCtxSwitches ? -1 : 0;
664664
for( ; lane < depthLimit; lane++ )
665665
{
666-
const ImVec2 center = ImVec2(cropperCenterX, CircleCenterYForLine( lane ) );
666+
const ImVec2 center = ImVec2( cropperCenterX, CircleCenterYForLine( lane ) );
667667
const float hradius = radius + 2.0f * GetScale();
668668
const float dx = mousePos.x - center.x;
669669
const float dy = mousePos.y - center.y;

0 commit comments

Comments
 (0)