Merge pull request #110 from dorileo/fix-clipper

clui: fix Clipper() function
This commit is contained in:
Vladimir Markelov 2018-09-26 21:21:39 -07:00 committed by GitHub
commit a2c441f678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -546,7 +546,7 @@ func (c *BaseControl) Clipper() (int, int, int, int) {
return c.clipper.x, c.clipper.y, c.clipper.w, c.clipper.h
}
return CalcClipper(clipped)
return CalcClipper(c)
}
func (c *BaseControl) setClipper() {