Skip to content

Commit aa0071e

Browse files
committed
fix: renderer: we want to always use the frame area for drawing
1 parent 579e174 commit aa0071e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cursed_renderer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ func (s *cursedRenderer) render(v View) {
429429
// we erase any old content.
430430
s.buf.Clear()
431431
if v.Content != nil {
432-
v.Content.Draw(s.buf, s.buf.Bounds())
432+
v.Content.Draw(s.buf, frameArea)
433433
}
434434

435435
// If the frame height is greater than the screen height, we drop the

0 commit comments

Comments
 (0)