Fix backwards `Frame::rotate` in `canvas`

The angle direction has been fixed upstream in `euclid` (see
https://github.com/servo/euclid/pull/413).
This commit is contained in:
Héctor Ramón Jiménez 2020-11-22 11:05:08 +01:00
parent ea1a7248d2
commit 77c7ad1fef
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ impl Frame {
.transforms .transforms
.current .current
.raw .raw
.pre_rotate(lyon::math::Angle::radians(-angle)); .pre_rotate(lyon::math::Angle::radians(angle));
self.transforms.current.is_identity = false; self.transforms.current.is_identity = false;
} }