I use function anglerotate(start, end, step) to rotate entire layer ( one key click = 45? ) and it works ok untill eg. executed 5 or more rapid clicks and "end" angle is larger than 180?.
Then, entire layer rotates to designated angle but in oposite direction probably chosing a shorter route?
is there a way to make rotation to maintain in the same direction and avoid this?