From: buliabyak Date: Tue, 17 Jan 2006 08:16:42 +0000 (+0000) Subject: more precise simplification control X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5c75cf72a495b3b7acef3df76ed8fa8d81952aad;p=inkscape.git more precise simplification control --- diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 1fa2049d2..df7942974 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -467,7 +467,7 @@ void InkscapePreferences::initPageMisc() _misc_recent.init("options.maxrecentdocuments", "value", 0.0, 1000.0, 1.0, 1.0, 1.0, true, false); _page_misc.add_line( false, _("Max recent documents:"), _misc_recent, "", _("The maximum length of the Open Recent list in the File menu"), false); - _misc_simpl.init("options.simplifythreshold", "value", 0.0, 1.0, 0.001, 0.01, 0.002, false, false); + _misc_simpl.init("options.simplifythreshold", "value", 0.0001, 1.0, 0.0001, 0.001, 0.001, false, false); _page_misc.add_line( false, _("Simplification threshold:"), _misc_simpl, "", _("How strong is the Simplify command by default. If you invoke this command several times in quick succession, it will act more and more aggressively; invoking it again after a pause restores the default threshold."), false); int const num_items = 5; diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp index cc389c611..b53db0512 100644 --- a/src/ui/widget/preferences-widget.cpp +++ b/src/ui/widget/preferences-widget.cpp @@ -215,7 +215,7 @@ void PrefSpinButton::init(const std::string& prefs_path, const std::string& attr if (is_int) this->set_digits(0); else if (step_increment < 0.1) - this->set_digits(3); + this->set_digits(4); else this->set_digits(2);