[orx-gui] Invoke onChange in Parameter Path - #383
Conversation
It's the only parameter type that does not trigger change events.
|
I see now that my code is incomplete. Change events are not triggered when assigning a new value to the annotated variable. |
|
I found this demo https://github.com/openrndr/orx/tree/master/orx-jvm/orx-gui#demopath01 which shows how to persist a This is enough for what I need, but there's an difference between how With Update: I investigated further and find different behaviors in https://github.com/openrndr/orx/tree/master/orx-jvm/orx-panel/src/main/kotlin/org/openrndr/panel/elements I think the only element that implements a setter that triggers The other elements I looked into do not seem to implement such a setter. |
|
After recent changes to orx, I see that annotations like If this should happen with |
It's the only parameter type that does not trigger change events.
Without this change changes to
@PathParametervariables can't be detected ingui.onChange.