summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-10-28 22:32:45 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-10-29 15:08:09 +0000
commitaa65c2573dd0a9679dd003975a6165e146dab2b8 (patch)
treebf50e00391856a0e3b8fce843299f698133dacb4
parentgcc has AddressSanitizer support (allow WITH_ASAN) (diff)
downloadinkscape-aa65c2573dd0a9679dd003975a6165e146dab2b8.tar.gz
inkscape-aa65c2573dd0a9679dd003975a6165e146dab2b8.zip
Update bounding box on changing blur
-rw-r--r--src/ui/dialog/objects.cpp1
-rw-r--r--src/ui/widget/object-composite-settings.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/dialog/objects.cpp b/src/ui/dialog/objects.cpp
index a2874fd8f..553f4f909 100644
--- a/src/ui/dialog/objects.cpp
+++ b/src/ui/dialog/objects.cpp
@@ -1670,6 +1670,7 @@ void ObjectsPanel::_blurChangedIter(const Gtk::TreeIter& iter, double blur)
remove_filter(item, false);
}
}
+ item->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
}
}
}
diff --git a/src/ui/widget/object-composite-settings.cpp b/src/ui/widget/object-composite-settings.cpp
index adf6427a7..737572a76 100644
--- a/src/ui/widget/object-composite-settings.cpp
+++ b/src/ui/widget/object-composite-settings.cpp
@@ -129,6 +129,8 @@ ObjectCompositeSettings::_blendBlurValueChanged()
}
if (change_blend) { //we do blend so we need update display style
item->updateRepr(SP_OBJECT_WRITE_NO_CHILDREN | SP_OBJECT_WRITE_EXT);
+ } else {
+ item->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
}
}