Skip to content

Commit 2fe6618

Browse files
committed
Fixed it so that data items are drawn the same on the last phase as on the previous ones.
1 parent 0d497bf commit 2fe6618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win32/N3888_RefImpl/sample_draw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void sample_draw::operator()(context& ctxt, double elapsedTimeInMilliseconds) {
6969
ctxt.arc(trunc((x2r - x1r) * adjustment + x1r), trunc(yr), radius - 3.0, 0.0, two_pi);
7070
}
7171
else {
72-
ctxt.arc(radius * i * 2.0 + radius + beginX + (4.0 * i), y, radius, 0.0, two_pi);
72+
ctxt.arc(radius * i * 2.0 + radius + beginX, y, radius - 3.0, 0.0, two_pi);
7373
}
7474
double greyColor = 1.0 - (currVal / (elementCount - 1.0));
7575
ctxt.set_source_rgb(greyColor, greyColor, greyColor);

0 commit comments

Comments
 (0)