*Edit* cap no longer rotates due to changes in r75. Recreating the "rotate layer.." events fixes it.
So holding down Q or E (or the numpad buttons) changes the layout angle target.. and the actual layout then follows it.. (These variables are GravTarget and GravCurrent)
This works fine if you allow the target angle to go above 180, but for other reasons, I need the angle to stay in the confines of 180 to -180
*but* when the target passes over the +180 to -180 threshold at the very top, the actual angle spins back, and takes the long way around... instead of over the threshold..
Am I stupid? I feel like this should have a simple solution but I just can't think
Thanks in advance!