зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1460861 - Update for API change in WR PR 2750. r=Gankro
MozReview-Commit-ID: F0T9oudhunt --HG-- extra : rebase_source : 1156a8bf23919e5b49465c42ba2227a3408b30c5
This commit is contained in:
Родитель
d76b5fa54a
Коммит
948e9e9519
|
@ -1637,8 +1637,8 @@ pub extern "C" fn wr_dp_push_stacking_context(state: &mut WrState,
|
|||
if let Some(anim) = anim {
|
||||
debug_assert!(anim.id > 0);
|
||||
match anim.effect_type {
|
||||
WrAnimationType::Opacity => filters.push(FilterOp::Opacity(PropertyBinding::Binding(PropertyBindingKey::new(anim.id)), 1.0)),
|
||||
WrAnimationType::Transform => transform_binding = Some(PropertyBinding::Binding(PropertyBindingKey::new(anim.id))),
|
||||
WrAnimationType::Opacity => filters.push(FilterOp::Opacity(PropertyBinding::Binding(PropertyBindingKey::new(anim.id), 1.0), 1.0)),
|
||||
WrAnimationType::Transform => transform_binding = Some(PropertyBinding::Binding(PropertyBindingKey::new(anim.id), LayoutTransform::identity())),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче