fix filter area again

This commit is contained in:
Laura Klünder 2017-10-19 14:14:29 +02:00
parent 6d61ddd27d
commit 239708af31

View file

@ -166,10 +166,10 @@ class SVGImage:
blur_id = 'blur'+str(int(elevation*100))
if elevation not in self.blurs:
blur_filter = ET.Element('filter', {'id': blur_id,
'width': '100%',
'height': '100%',
'x': '0%',
'y': '0%'})
'width': '200%',
'height': '200%',
'x': '-50%',
'y': '-50%'})
blur_filter.append(ET.Element('feGaussianBlur',
{'stdDeviation': str(blur_radius * self.scale)}))