Make tiny-skia equivalent
This commit is contained in:
parent
8c401be207
commit
39f57a258e
1 changed files with 2 additions and 1 deletions
|
|
@ -233,7 +233,8 @@ impl Backend {
|
|||
),
|
||||
size,
|
||||
&radii,
|
||||
);
|
||||
)
|
||||
.max(0.0);
|
||||
let shadow_alpha = 1.0
|
||||
- smoothstep(
|
||||
-shadow.blur_radius * scale_factor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue