You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to refresh the activePosition value dynamically at runtime?
Describe the solution you'd like?
For example, consider a menu with a WIDGET_LIST containing multiple options. If one of these options is updated programmatically from another function in the code, it would be helpful to have a way to reflect this change in the activePosition immediately.
This functionality would enhance flexibility, especially for scenarios where menu updates occur automatically based on external triggers or logic.
Maybe using poll() or something like that?
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Just recognized itemValue and poll only exist for about a week and have been confused why my WidgetBool and WidgetRange won't update when starting/initial value is already a variable in my code.
So far:
Recreated both now in a local copy of the library and was able to make the "values" changeable in a maybe unsafe way, by just deleting their const and referencing the value. Similar to @forntoh 's approach in ItemValue.
But I was not able to get poll doing its job on widgets, seems to be only related to items.
So, my suggestions for a possible solution:
-> make "polling" available to widgets too
or more sophisticated
-> make it possible to add a passing argument for poll globally
Is your feature request related to a problem?
Is it possible to refresh the activePosition value dynamically at runtime?
Describe the solution you'd like?
For example, consider a menu with a WIDGET_LIST containing multiple options. If one of these options is updated programmatically from another function in the code, it would be helpful to have a way to reflect this change in the activePosition immediately.
This functionality would enhance flexibility, especially for scenarios where menu updates occur automatically based on external triggers or logic.
Maybe using poll() or something like that?
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: