Use generics for the filter property

This introduces an additional shadow type for drop-shadow().
This commit is contained in:
Anthony Ramine 2017-06-19 10:05:44 +02:00
parent e41b7d06b4
commit 6f4061d4ad
21 changed files with 822 additions and 496 deletions

View file

@ -479,7 +479,7 @@ impl StackingContext {
&Rect::zero(),
&Rect::zero(),
0,
filter::T::new(Vec::new()),
filter::T::none(),
MixBlendMode::Normal,
None,
TransformStyle::Flat,