()
| 278 | } |
| 279 | |
| 280 | func (sw *Switch) Render() { |
| 281 | sw.updateStackTop() // important: make sure we're always up-to-date on render |
| 282 | st, ok := sw.ChildByName("stack", 0).(*Frame) |
| 283 | if ok { |
| 284 | st.UpdateStackedVisibility() |
| 285 | } |
| 286 | sw.WidgetBase.Render() |
| 287 | } |
nothing calls this directly
no test coverage detected