diff --git a/src/plugins/docgen/SvgDrawDoc.py b/src/plugins/docgen/SvgDrawDoc.py index ded5b6aa6..2b4ecacc9 100644 --- a/src/plugins/docgen/SvgDrawDoc.py +++ b/src/plugins/docgen/SvgDrawDoc.py @@ -193,12 +193,13 @@ class SvgDrawDoc(BaseDoc, DrawDoc): style_sheet = self.get_style_sheet() box_style = style_sheet.get_draw_style(style) + shadow_width = box_style.get_shadow_space() - if box_style.get_shadow(): + if box_style.get_shadow() and shadow_width > 0: self.f.write( '\n'