Mode swap in prototype not working
Hello, community.
Is anyone else having this issue with the new mode swap for variables:
Basically, the mode swap for variants works when I use the layer dropdown in the design mode. The variable is assigned
However, when I apply the onClick event to swap the modes in the prototype, nothing happens. The click function is there, the swap mode function is assigned, and the right variable collection and variable modes are assigned.
I even tested it with something as simple as an empty frame with a rectangle to click. Still nothing.
EXPECTED - works with the old method


