diff options
Diffstat (limited to 'src/display/drawing-item.cpp')
| -rw-r--r-- | src/display/drawing-item.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/display/drawing-item.cpp b/src/display/drawing-item.cpp index 60c350cd9..81d01846e 100644 --- a/src/display/drawing-item.cpp +++ b/src/display/drawing-item.cpp @@ -395,6 +395,9 @@ DrawingItem::setStyle(SPStyle *style, SPStyle *context_style) _background_new = false; _markForUpdate(STATE_BACKGROUND, true); } + } else if (_parent && _parent->_child_type != CHILD_NORMAL && !_background_new) { + _background_new = true; + _markForUpdate(STATE_BACKGROUND, true); } if (context_style != nullptr) { |
