From 49b5cfd037304847e903dc27fc78ad3152c46b1f Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Sat, 1 Jan 2022 18:49:25 -0800 Subject: [PATCH] Cleanup debug code --- colorpicker.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/colorpicker.go b/colorpicker.go index c70198a..56d6c49 100644 --- a/colorpicker.go +++ b/colorpicker.go @@ -7,7 +7,6 @@ import ( "fmt" "image" "image/png" - "io/ioutil" "git.kirsle.net/go/render" ) @@ -371,7 +370,7 @@ func MakeColorPickerGradient() image.Image { } // debug - ioutil.WriteFile("gradient.png", data, 0644) + // ioutil.WriteFile("gradient.png", data, 0644) image, err := png.Decode(bytes.NewBuffer(data)) if err != nil {