Bugfix: Flex will call Box.Draw() again. Fixes #104

This commit is contained in:
Oliver 2018-05-15 16:37:51 +02:00
parent 7d789421e3
commit c0b219f400
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,8 @@ func (f *Flex) RemoveItem(p Primitive) *Flex {
// Draw draws this primitive onto the screen.
func (f *Flex) Draw(screen tcell.Screen) {
f.Box.Draw(screen)
// Calculate size and position of the items.
// Do we use the entire screen?