This commit is contained in:
Alexandre Bury 2017-10-11 11:51:46 -07:00
parent 4e07d8891f
commit f02dda5a0a

View File

@ -45,8 +45,9 @@ struct Child {
placement: Placement, placement: Placement,
// We cannot call `take_focus` until we've called `layout()` // We cannot call `take_focus` until we've called `layout()`
// So we want to call `take_focus` right after the first call // (for instance, a textView must know it will scroll to be focusable).
// to `layout`; this flag remembers when we've done that. // So we want to call `take_focus` right after the first call to `layout`.
// This flag remembers when we've done that.
virgin: bool, virgin: bool,
} }