Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions windows/drawpath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ static void drawArc(uiDrawPath *p, struct arc *a, void (*startFunction)(uiDrawPa
as.size.height = a->radius;
as.rotationAngle = 0; // as above, not relevant for circles
if (a->negative)
as.sweepDirection = D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE;
else
as.sweepDirection = D2D1_SWEEP_DIRECTION_CLOCKWISE;
else
as.sweepDirection = D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE;
// TODO explain the outer if
if (!a->negative)
if (a->sweep > uiPi)
Expand Down
Loading