7bc3ec4c35
When wrapping container widgets to create reusable composite widgets, `drill` will be called twice on the same widget definition. The first call happens within the wrapping function and applies the children widgets fine. The second call happens when the composite widget is used, but since there are no children widgets defined, the call to `set_children` sets the existing child to `nil` instead. Fixes #3213. Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de> |
||
---|---|---|
.. | ||
container | ||
layout | ||
widget | ||
drawable.lua | ||
hierarchy.lua | ||
init.lua |