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

pull/117/merge
Oliver 6 years ago
parent 7d789421e3
commit c0b219f400

@ -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?

Loading…
Cancel
Save