mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 06:20:41 +00:00
Bug 1377894 - Create the new opacity animations only when the animation id is valid, r=kats
MozReview-Commit-ID: 1njXoEnyj00 --HG-- extra : rebase_source : 43b9d5451f06de2148f6c7a7228dbcc609c038b3
This commit is contained in:
parent
92f2dc2e2e
commit
799d59d88f
@ -1144,7 +1144,9 @@ pub extern "C" fn wr_dp_push_stacking_context(state: &mut WrState,
|
||||
filters.push(FilterOp::Opacity(PropertyBinding::Value(*opacity)));
|
||||
}
|
||||
} else {
|
||||
filters.push(FilterOp::Opacity(PropertyBinding::Binding(PropertyBindingKey::new(animation_id))));
|
||||
if animation_id > 0 {
|
||||
filters.push(FilterOp::Opacity(PropertyBinding::Binding(PropertyBindingKey::new(animation_id))));
|
||||
}
|
||||
}
|
||||
|
||||
let transform = unsafe { transform.as_ref() };
|
||||
|
Loading…
x
Reference in New Issue
Block a user