This commit is contained in:
Greg 2019-08-16 17:33:28 -04:00
parent 716cd6b562
commit bfd6ae49df
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ func NewFlex(fos ...FlexOption) Flex {
return func(ws ...Widget) Widget {
return NewfWidget(func(ctx Context) Context {
// ensure child widgets write options to the right place
extra.cur = index
opts := extra.data[index].(*FlexOpts)
f.Init(ctx.ops, ctx.cs)