Theming tweaks and rendering fixes

This commit is contained in:
Sasha Koshka
2023-02-27 17:00:28 -05:00
parent 8dd506a007
commit ee45b2fa60
5 changed files with 21 additions and 4 deletions

View File

@@ -118,6 +118,13 @@ func (element *Artist) draw () {
Inset: artist.Inset { 8, 8, 8, 8 },
}.Draw(c03, c03.Bounds())
// 1, 3
c13 := element.cellAt(1, 3)
patterns.Border {
Canvas: element.thingy(c42),
Inset: artist.Inset { 8, 8, 8, 8 },
}.Draw(c13, c13.Bounds().Inset(10))
// how long did that take to render?
drawTime := time.Since(drawStart)
textDrawer := textdraw.Drawer { }