050d9e37ec
Rotate text using the Rotate90() function which gets the orientation right. Also, when calculating the center point for rotation, don't include labels if the selection contains other stuff. It just makes the rotation odd, and tends to cause walking when continuing to rotate (due to keep-upright being non-symmetrical). Fixes https://gitlab.com/kicad/code/kicad/issues/git