Skip to content

Commit 5074d50

Browse files
authored
Merge pull request #41 from sysprog21/demo-spline-cap
spline: Initialize cap style to round
2 parents 92ef3c1 + 0b8b86e commit 5074d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/spline.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static void _apps_spline_init(apps_spline_t *spline,
129129
_twin_widget_init(&spline->widget, parent, 0, preferred, dispatch);
130130
twin_widget_set(&spline->widget, 0xffffffff);
131131
spline->line_width = twin_int_to_fixed(100);
132-
spline->cap_style = TwinCapButt;
132+
spline->cap_style = TwinCapRound;
133133
spline->points[0].x = twin_int_to_fixed(100);
134134
spline->points[0].y = twin_int_to_fixed(100);
135135
spline->points[1].x = twin_int_to_fixed(300);

0 commit comments

Comments
 (0)