habbes / xaval

Interactive web-based playground for computer vision exploration and experimentation
https://xaval.habbes.xyz
5 stars 0 forks source link

Update param control value when `widget.setParam()` is called #32

Closed habbes closed 6 years ago

habbes commented 6 years ago

While changing the value of a widget param updates the internal param of the widget model, the reverse does not work. Updating the widget model's param via WidgetModel.setParam(name, value) does not update the control's value.

This should be fixed so that the model and view remain in sync.