Use FillRectangleClip in List and Container

This commit is contained in:
Sasha Koshka
2023-02-14 16:53:28 -05:00
parent fa42cf1f5f
commit 09f782953e
4 changed files with 43 additions and 28 deletions

View File

@@ -230,7 +230,8 @@ func (element *Container) redoAll () {
theme.PatternBackground,
theme.PatternState { })
for _, tile := range tiles {
artist.FillRectangle(element.core, pattern, tile)
artist.FillRectangleClip (
element.core, pattern, element.Bounds(), tile)
}
// cut our canvas up and give peices to child elements