From 11a2ad3550cf8e8b58ecd632d540e70d09270c98 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Mon, 22 Jan 2018 07:01:22 -0800 Subject: [PATCH] trails: can use symbols directly without wrapping. --- extra/trails/trails.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/trails/trails.factor b/extra/trails/trails.factor index 182a67f820..901b43e669 100644 --- a/extra/trails/trails.factor +++ b/extra/trails/trails.factor @@ -45,8 +45,8 @@ M: trails-gadget pref-dim* drop { 500 500 } ; [ dup length ] dip '[ 1 + _ / @ ] each-index ; inline M:: trails-gadget draw-gadget* ( GADGET -- ) - T{ rgba f 1 1 1 0.4 } \ fill-color set ! White, with some transparency - T{ rgba f 0 0 0 0 } \ stroke-color set ! no stroke + T{ rgba f 1 1 1 0.4 } fill-color set ! White, with some transparency + T{ rgba f 0 0 0 0 } stroke-color set ! no stroke COLOR: black gl-clear GADGET points>> [ dot ] each-percent ;