Fix list not drawing background

This commit is contained in:
2023-02-26 22:56:20 -05:00
parent 26787d8670
commit 449922851f
3 changed files with 4 additions and 3 deletions

View File

@@ -52,7 +52,8 @@ func DrawShatter (
) (
updatedRegion image.Rectangle,
) {
return Draw(destination, source, shatter.Shatter(destination.Bounds(), rocks...)...)
tiles := shatter.Shatter(destination.Bounds(), rocks...)
return Draw(destination, source, tiles...)
}
// AllocateSample returns a new canvas containing the result of a pattern. The