summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/paintui/paintui.ha5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/paintui/paintui.ha b/client/paintui/paintui.ha
index 212e16b..81fa7ca 100644
--- a/client/paintui/paintui.ha
+++ b/client/paintui/paintui.ha
@@ -51,8 +51,9 @@ export fn tick(
&& (mouse_pos.0 != pstate.last_mouse_pos.0
|| mouse_pos.1 != pstate.last_mouse_pos.1
|| (!pstate.last_mouse_pressed)))
- drawing::op_circle {
- pos = mouse_pos,
+ drawing::op_stroke {
+ pos1 = mouse_pos,
+ pos0 = (0,0),
radius = sizes[pstate.size_idx],
color = pstate.color,
}