center draw redraws background first

pull/800/head
Gergely Bódi 2 years ago
parent dee47f684d
commit ddf204f6bd

@ -62,6 +62,7 @@ func (c *Center) Draw(screen tcell.Screen) {
height = inHeight
}
c.Box.Draw(screen)
c.primitive.SetRect(x, y, width, height)
c.primitive.Draw(screen)
}

Loading…
Cancel
Save