From 29785fb937bca3c53bb0b153272c28ab636f6e14 Mon Sep 17 00:00:00 2001 From: faiface Date: Sat, 6 May 2017 22:57:55 +0200 Subject: [PATCH] IMDraw: change default point color to (1, 1, 1, 1) (was (0, 0, 0, 0)) --- imdraw/imdraw.go | 1 + 1 file changed, 1 insertion(+) diff --git a/imdraw/imdraw.go b/imdraw/imdraw.go index ef74bbf..d77e4cd 100644 --- a/imdraw/imdraw.go +++ b/imdraw/imdraw.go @@ -106,6 +106,7 @@ func (imd *IMDraw) Clear() { func (imd *IMDraw) Reset() { imd.points = nil imd.opts = point{} + imd.Color(pixel.Alpha(1)) imd.Precision(64) }