Swapped stroke-width and stroke-color params, fixes #82

This commit is contained in:
Devine Lu Linvega
2019-07-28 06:15:49 +09:00
parent adec70791e
commit 38ee25ac2c
15 changed files with 24 additions and 24 deletions

View File

@@ -17,7 +17,7 @@
(
(debug e:is-down)
(stroke
(line prev-pos:x prev-pos:y e:x e:y) 2 "white")
(line prev-pos:x prev-pos:y e:x e:y) "white")
(set prev-pos "x" e:x "y" e:y)
(debug prev-pos)
(debug e)))))
@@ -29,7 +29,7 @@
(set prev-pos "x" e:x "y" e:y)
(debug e:x)
(stroke
(circle e:x e:y 10) 4
(circle e:x e:y 10)
(stroke-color e))))
;
(on "mouse-down" draw-circle)

View File

@@ -9,7 +9,7 @@
(e)
(
(stroke
(circle e:x e:y e:d) 1
(circle e:x e:y e:d)
(gradient gradient-line
("black" "#ffb545")))))
;