Cleanup debug code
This commit is contained in:
parent
fee6e1e105
commit
49b5cfd037
|
@ -7,7 +7,6 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"image"
|
"image"
|
||||||
"image/png"
|
"image/png"
|
||||||
"io/ioutil"
|
|
||||||
|
|
||||||
"git.kirsle.net/go/render"
|
"git.kirsle.net/go/render"
|
||||||
)
|
)
|
||||||
|
@ -371,7 +370,7 @@ func MakeColorPickerGradient() image.Image {
|
||||||
}
|
}
|
||||||
|
|
||||||
// debug
|
// debug
|
||||||
ioutil.WriteFile("gradient.png", data, 0644)
|
// ioutil.WriteFile("gradient.png", data, 0644)
|
||||||
|
|
||||||
image, err := png.Decode(bytes.NewBuffer(data))
|
image, err := png.Decode(bytes.NewBuffer(data))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user