[core] Fix non-anchored Transform::setAngle

This reverts a line change from b33b2f15, because we explicitely want
the anchor to be invalid.
This commit is contained in:
Bruno de Oliveira Abinader
2016-03-11 15:17:56 +02:00
parent f73beb5913
commit 694a064cdd
2 changed files with 18 additions and 13 deletions

View File

@@ -502,7 +502,7 @@ void Transform::rotateBy(const ScreenCoordinate& first, const ScreenCoordinate&
}
void Transform::setAngle(double angle, const Duration& duration) {
setAngle(angle, ScreenCoordinate {}, duration);
setAngle(angle, ScreenCoordinate { NAN, NAN }, duration);
}
void Transform::setAngle(double angle, const ScreenCoordinate& anchor, const Duration& duration) {