This had been a rather large prototype but in an effort to figure out what’s going wrong, I’ve pared it down to just the problem area. What’s left is 5 left-hand navigation buttons. When any one of the buttons is selected, that button should turn white and the other buttons should be blue. The first button that I made (Benchmark Analytics) is working as expected. The other 4 buttons never turn blue after another button is selected.
Clicking a button causes a label to be moved by (0,0) which causes a secondary label to be moved by (0,0). When the secondary label is moved, it selects the correct button to be rotated. The buttons each have an interaction for when they’re rotated. In that interaction, the button sets itself to the unselected/blue state.
Watching the console log, I can see that the Benchmark Analytics button does get rotated and it then changes its state to unselected.
The console shows that the rotate action happens for the other buttons but their rotate interactions never happen. Even if this turns out to be an incredibly obvious mistake, by now I will just be glad to know why this is happening!
The moving of labels is because the left-hand navigation is supposed to have many more buttons and I thought I might be running into a limit for the number of cases in a condition.
Initially, I was having setting the panel states directly instead of rotating, but the panel state was only getting set for the Benchmark Analytics button, so adding rotation was part of troubleshooting.
The pared down prototype is here https://xlwyqf.axshare.com/