This commit is contained in:
Louis Mazin 2026-06-28 17:42:53 +02:00
parent b472cdb62e
commit 2ce03e1498

View File

@ -728,9 +728,9 @@ class TabsWidget(QWidget):
continue
lname = tag.split('}')[-1] # local name
if lname in ("svg", "g", "path", "rect", "circle", "ellipse", "polygon", "line", "polyline"):
if 'fill' in el.attrib:
if 'fill' in el.attrib and el.attrib['fill'] != 'none':
el.attrib['fill'] = color
if 'stroke' in el.attrib:
if 'stroke' in el.attrib and el.attrib['stroke'] != 'none':
el.attrib['stroke'] = color
style = el.attrib.get('style')