summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-11-22 11:05:08 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-11-22 11:05:08 +0100
commit77c7ad1fef371b94a1e493018b2eb3cea4aa8a80 (patch)
tree2e5de8fe98d573cfadd46cf78740c144e04ff74d /graphics
parentea1a7248d257c7c9e4a1f3989e68b58a6bc0c4ff (diff)
downloadiced-77c7ad1fef371b94a1e493018b2eb3cea4aa8a80.tar.gz
iced-77c7ad1fef371b94a1e493018b2eb3cea4aa8a80.tar.bz2
iced-77c7ad1fef371b94a1e493018b2eb3cea4aa8a80.zip
Fix backwards `Frame::rotate` in `canvas`
The angle direction has been fixed upstream in `euclid` (see https://github.com/servo/euclid/pull/413).
Diffstat (limited to 'graphics')
-rw-r--r--graphics/src/widget/canvas/frame.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/widget/canvas/frame.rs b/graphics/src/widget/canvas/frame.rs
index b5c6a2b1..21e9ec28 100644
--- a/graphics/src/widget/canvas/frame.rs
+++ b/graphics/src/widget/canvas/frame.rs
@@ -276,7 +276,7 @@ impl Frame {
.transforms
.current
.raw
- .pre_rotate(lyon::math::Angle::radians(-angle));
+ .pre_rotate(lyon::math::Angle::radians(angle));
self.transforms.current.is_identity = false;
}