summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-item.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-10-14 14:25:28 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-10-14 14:25:28 +0000
commitd58f1115618f0458496b0e0a081238d5fda64ef5 (patch)
tree0d87bf8067744160cf824defc783f5ff73935399 /src/display/drawing-item.cpp
parentPrevent returning references to local variable (diff)
downloadinkscape-d58f1115618f0458496b0e0a081238d5fda64ef5.tar.gz
inkscape-d58f1115618f0458496b0e0a081238d5fda64ef5.zip
Re-Add blending modes UI using CSS instead filters
Diffstat (limited to 'src/display/drawing-item.cpp')
-rw-r--r--src/display/drawing-item.cpp3
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) {