From c2f9b31f06250b81f63cee6c16a17a315cecda51 Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Wed, 24 Oct 2018 15:27:21 +0200 Subject: Fixing coding style --- clang_format_diff | 4 ++-- src/live_effects/lpe-knot.cpp | 3 ++- src/live_effects/lpe-knot.h | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/clang_format_diff b/clang_format_diff index af9410f3b..5c34c9d5f 100644 --- a/clang_format_diff +++ b/clang_format_diff @@ -15,9 +15,9 @@ : Effect(lpeobject) , // initialise your parameters here: -- interruption_width(_("_Gap length:"), _("Size of hidden region of lower string"), "interruption_width", &wr, this, 1) +- interruption_width(_("_Gap length:"), _("Size of hidden region of lower string"), "interruption_width", &wr, this, 3) + interruption_width(_("_Gap length:"), _("Size of hidden region of lower string"), "interruption_width", &wr, this, -+ 1) ++ 3) , prop_to_stroke_width(_("_In units of stroke width"), _("Consider 'Width' as a ratio of stroke width"), "prop_to_stroke_width", &wr, this, true) , inverse_width(_("_Inverse"), _("Use other stroke width, useful in groups with diferent stroke width"), diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp index 21fb3e5bf..431021ad0 100644 --- a/src/live_effects/lpe-knot.cpp +++ b/src/live_effects/lpe-knot.cpp @@ -345,7 +345,8 @@ LPEKnot::LPEKnot(LivePathEffectObject *lpeobject) : Effect(lpeobject) , // initialise your parameters here: - interruption_width(_("_Gap length:"), _("Size of hidden region of lower string"), "interruption_width", &wr, this, 3) + interruption_width(_("_Gap length:"), _("Size of hidden region of lower string"), "interruption_width", &wr, this, + 3) , prop_to_stroke_width(_("_In units of stroke width"), _("Consider 'Width' as a ratio of stroke width"), "prop_to_stroke_width", &wr, this, true) , inverse_width(_("_Inverse"), _("Use other stroke width, useful in groups with diferent stroke width"), diff --git a/src/live_effects/lpe-knot.h b/src/live_effects/lpe-knot.h index 7f547b7c7..b9973f4f6 100644 --- a/src/live_effects/lpe-knot.h +++ b/src/live_effects/lpe-knot.h @@ -76,7 +76,7 @@ private: ScalarParam interruption_width; BoolParam prop_to_stroke_width; BoolParam inverse_width; - // "add_stroke_width" and "add_other_stroke_width" parameters are not used since Inkscape 1.0, + // "add_stroke_width" and "add_other_stroke_width" parameters are not used since Inkscape 1.0, // but changed from bool to hidden parameter to retain backward compatibility and dont show in the UI HiddenParam add_stroke_width; HiddenParam add_other_stroke_width; -- cgit v1.2.3