diff --git a/cmd/krampus19/console.go b/cmd/krampus19/console.go index b59b9b2..a0132a2 100644 --- a/cmd/krampus19/console.go +++ b/cmd/krampus19/console.go @@ -63,7 +63,7 @@ func (c *console) Render(ctx *alui.Context, bounds geom.RectangleF32) { } messageTop := size.Y - totalHeight - c.offset for _, m := range messages { - if messageTop <= size.Y || (messageTop+lineHeight) >= 0 { + if messageTop <= size.Y && (messageTop+lineHeight) >= 0 { ctx.Fonts.DrawFont(font, 0, messageTop, ctx.Palette.Text, m) } messageTop += lineHeight