mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-05 00:21:15 +03:00
Fix gradients domain
This commit is contained in:
parent
7cbaa243c3
commit
30db42b08a
@ -335,6 +335,7 @@ class Gradient:
|
||||
}) for i in range(len(stop_colors) - 1)
|
||||
]),
|
||||
})
|
||||
shading['Domain'] = shading['Function']['Domain']
|
||||
context.transform(1, 0, 0, scale_y, 0, 0)
|
||||
context.shading(shading.id)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user