UpdateRender is the same as [WidgetBase.Update], except that it calls [WidgetBase.NeedsRender] instead of [WidgetBase.NeedsLayout]. This should be called when the changes made to the widget do not require a new layout pass (if you change the size, spacing, alignment, or other layout properties of th
()
| 72 | // or other layout properties of the widget, you need a new layout pass |
| 73 | // and should call [WidgetBase.Update] instead). |
| 74 | func (wb *WidgetBase) UpdateRender() { |
| 75 | wb.WidgetWalkDown(func(cw Widget, cwb *WidgetBase) bool { |
| 76 | cwb.UpdateWidget() |
| 77 | cw.Style() |
| 78 | return tree.Continue |
| 79 | }) |
| 80 | wb.NeedsRender() |
| 81 | } |
no test coverage detected