Commit a35678b7 authored by Etienne Nadji's avatar Etienne Nadji
Browse files

Colors : import : fix shade

	modifié :         pyscribus/
parent 8cc22ee3
......@@ -539,7 +539,7 @@ class GradientColorStop(xmlc.PyScribusElement):
self.color = color
if (shade := xml.get("SHADE")) is not None:
self.shade = dimensions.Dim(float(opacity), "pc")
self.shade = dimensions.Dim(float(shade), "pc")
if (ramp := xml.get("RAMP")) is not None:
self.position = dimensions.Dim(float(ramp), "pcdecim")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment