Fixed CoreControl background drawing behavior
... But found a bug with the border pattern
This commit is contained in:
@@ -140,7 +140,7 @@ func (control CoreControl) DrawBackgroundBounds (
|
||||
if ok {
|
||||
parent.DrawBackground(bounds)
|
||||
} else if fallback != nil {
|
||||
fallback.Draw(control, bounds)
|
||||
fallback.Draw(canvas.Cut(control, bounds), control.Bounds())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user