Merge pull request #627 from hecrj/fix/canvas-rotation

Fix backwards `Frame::rotate` in `canvas`
This commit is contained in:
Héctor Ramón 2020-11-24 00:17:46 +01:00 committed by GitHub
commit 556cf24b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
} }