Stop some redundant rendering in the piano

This commit is contained in:
Sasha Koshka
2023-02-14 17:05:13 -05:00
parent 09f782953e
commit d59b7d812d
2 changed files with 14 additions and 4 deletions

View File

@@ -460,7 +460,6 @@ func (element *List) draw () {
0, 0,
innerBounds.Dx(), element.contentHeight,
).Add(innerBounds.Min).Intersect(innerBounds)
println(covered.String())
pattern := element.theme.Pattern(theme.PatternSunken, state)
tiles := shatter.Shatter(bounds, covered)