From bb59601ad530ade4cc654cf5ab27df7679a5efc4 Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Tue, 4 Feb 2020 14:58:19 -0500 Subject: [PATCH] Fix #771 only update markers on style changes --- src/widgets/stroke-style.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp index 815111dd978..0da4ec1088f 100644 --- a/src/widgets/stroke-style.cpp +++ b/src/widgets/stroke-style.cpp @@ -555,7 +555,9 @@ void StrokeStyle::unitChangedCB() void StrokeStyle::selectionModifiedCB(guint flags) { - if (flags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_PARENT_MODIFIED_FLAG)) { + // We care deeply about only updating when the style is updated + // if we update on other flags, we slow inkscape down when dragging + if (flags & (SP_OBJECT_STYLE_MODIFIED_FLAG)) { updateLine(); } } -- GitLab