fill fix
This commit is contained in:
parent
d08eb63181
commit
c1dce1c12a
1 changed files with 3 additions and 0 deletions
3
paths.go
3
paths.go
|
@ -445,6 +445,9 @@ func (cv *Canvas) Fill() {
|
|||
}
|
||||
start = i
|
||||
}
|
||||
if len(cv.polyPath) >= start+3 {
|
||||
cv.fillPoly(start, len(cv.polyPath))
|
||||
}
|
||||
}
|
||||
|
||||
func (cv *Canvas) fillPoly(from, to int) {
|
||||
|
|
Loading…
Reference in a new issue