Merge pull request #627 from hecrj/fix/canvas-rotation
Fix backwards `Frame::rotate` in `canvas`
This commit is contained in:
commit
556cf24b95
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue