Files
servo/components
Boris Chiou 0b9ecbccfe style: Rewrite the interpolation of Rotate to return correct type.
The original implementation always returns Rotate::Rotate3D, but it is
not correct, so we have to rewrite it:
1. If both from value and to value are none, we don't have to convert it
   into identity value, so just return None.
2. If one of the value is none, we replace it with an identity value based on
   the other one's rotate axis.
3. If we only have 2D rotation, we just animate the <angle>.
4. Otherwise, we do interpolation by 3D rotation.

Differential Revision: https://phabricator.services.mozilla.com/D11247
2018-11-17 09:56:00 +01:00
..
2018-11-08 09:28:00 +01:00
2018-11-13 22:29:45 +08:00
2018-11-08 09:28:00 +01:00
2018-11-06 22:30:31 +01:00
2018-11-06 22:35:07 +01:00
2018-11-08 09:28:00 +01:00
2018-11-10 13:27:49 +01:00
2018-11-08 09:28:00 +01:00
2018-11-10 17:47:28 +01:00
2018-11-08 09:28:00 +01:00
2018-11-08 09:28:00 +01:00
2018-11-09 21:04:31 +01:00
2018-11-09 21:04:31 +01:00
2018-11-08 09:28:00 +01:00
2018-11-09 21:04:31 +01:00
2018-11-08 09:28:00 +01:00
2018-11-08 09:28:00 +01:00
2018-11-06 22:35:07 +01:00
2018-11-10 17:47:28 +01:00
2018-11-10 17:47:28 +01:00
2018-11-10 17:47:28 +01:00
2018-11-09 21:04:31 +01:00
2018-11-08 09:28:00 +01:00
2018-11-08 09:28:00 +01:00