Only rotate label while rotation is < maxRotation
Checking for <= maxRotation results in a labelRotation of 1 if maxRotation is 0, which doesn't make any sense (and also causes the text to be right aligned not centred)
B
Ben Woodford committed
d7ab51f29b933659ca2058110e35219d3d002068
Parent: 36493e0