diff options
Diffstat (limited to 'components/layout/display_list_builder.rs')
-rw-r--r-- | components/layout/display_list_builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/display_list_builder.rs b/components/layout/display_list_builder.rs index e97dca0c17b..7a6f3928aca 100644 --- a/components/layout/display_list_builder.rs +++ b/components/layout/display_list_builder.rs @@ -1163,7 +1163,7 @@ impl FragmentDisplayListBuilding for Fragment { for operation in operations { let matrix = match operation { &transform::ComputedOperation::Rotate(ax, ay, az, theta) => { - let theta = f32::consts::PI_2 - theta.radians(); + let theta = 2.0f32 * f32::consts::PI - theta.radians(); Matrix4::create_rotation(ax, ay, az, theta) } &transform::ComputedOperation::Perspective(d) => { |