Commit 011d4911 authored by santiaago's avatar santiaago
Browse files

extend gColors extraction to accept array of colors as gradient

parent 3822c73c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ func GColors(r *http.Request) (gColors []color.RGBA) {

	if newColors, err := UserColors(r); err == nil {
		if len(newColors) > 2 {
			gColors = newColors[1:3]
			gColors = newColors[1:]
		} else {
			gColors = newColors
		}