pex-gui
pex-gui copied to clipboard
Watch for value changes and auto redraw
When we modify the value from outside of GUI we should redraw (only if gui is visible)
Using a Proxy for each param would be the solution: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy
But that should probably take part of a bigger conversation in simplifying the API (Proxies could help reduce the boilerplate).