mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
stylo: Fix TransformOperation.animate() implementation
This commit is contained in:
parent
06300999e9
commit
a7a5adb71a
2 changed files with 67 additions and 1 deletions
|
@ -128,7 +128,7 @@ impl TransformList {
|
|||
Transform3D::create_translation(0., ty, 0.)
|
||||
}
|
||||
ComputedOperation::TranslateZ(tz) => {
|
||||
Transform3D::create_translation(0., 0., tz.to_f32_px())
|
||||
Transform3D::create_translation(0., 0., tz.px())
|
||||
}
|
||||
ComputedOperation::Translate(tx, ty, tz) => {
|
||||
let (tx, ty) = match reference_box {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue