This commit is contained in:
Thomas Friedel 2018-04-04 16:05:38 +02:00
parent d08eb63181
commit c1dce1c12a

View file

@ -445,6 +445,9 @@ func (cv *Canvas) Fill() {
} }
start = i start = i
} }
if len(cv.polyPath) >= start+3 {
cv.fillPoly(start, len(cv.polyPath))
}
} }
func (cv *Canvas) fillPoly(from, to int) { func (cv *Canvas) fillPoly(from, to int) {