Open telesyst opened 9 months ago
I am a bit confused about the problem being solved here. The system already auto updates all UIs when a change on any open UI is made. Are you trying to disable this? If so, there is a better chokepoint in the change distribution code.
I would prefer to have changes like the debug macro made in a seperate PR. It helps keep things simpler.
There is included changes for https://github.com/s00500/ESPUI/issues/270
Usage Notes:
The CMakeLists.txt file is used in the case of using the library as an ESP-IDF component.
If it is necessary for the user input controls to update their values upon user input, then include ESPUI.auto_update_values = true; before calling ESPUI.addControl(). This option can also be activated for an already created control by changing Control.auto_update_value