Elements are no longer images

This commit is contained in:
2023-02-13 01:49:33 -05:00
parent 7f0462d588
commit 8ac5108211
18 changed files with 117 additions and 112 deletions

View File

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