mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Use the Separator trait for the filter property
This commit is contained in:
parent
813883e1bd
commit
395f6be0a6
13 changed files with 66 additions and 131 deletions
|
@ -2010,7 +2010,7 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
|
||||
// Create the filter pipeline.
|
||||
let effects = self.style().get_effects();
|
||||
let mut filters = effects.filter.clone().0.into_vec();
|
||||
let mut filters = effects.filter.0.clone();
|
||||
if effects.opacity != 1.0 {
|
||||
filters.push(Filter::Opacity(effects.opacity))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue