Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jphsd committed Jul 8, 2024
1 parent 41c4098 commit ec4ec79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/gopher2.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var (
black = g2d.NewPen(color.Black, 4)
)

// The gopher (FKA Gordon)
// The gopher (FKA Gordon) dancing
// From Renee French's original design http://reneefrench.blogspot.com/
func main() {
// Create image to write into
Expand Down
6 changes: 1 addition & 5 deletions renderable.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ func (r *Renderable) AddClippedShape(shape, clip *Shape, filler image.Image, xfm
}
} else {
r.Shapes = append(r.Shapes, shape)
if clip != nil {
r.Clips = append(r.Clips, clip)
} else {
r.Clips = append(r.Clips, nil)
}
r.Clips = append(r.Clips, clip)
}
r.Fillers = append(r.Fillers, filler)
return r
Expand Down

0 comments on commit ec4ec79

Please sign in to comment.