1
1
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:
Guillaume Ayoub 2020-06-08 16:34:36 +02:00
parent 7cbaa243c3
commit 30db42b08a

View File

@ -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)