diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-01-17 08:16:42 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-01-17 08:16:42 +0000 |
| commit | 5478d41d415db59ab94f953cb6e4106ef6078bb3 (patch) | |
| tree | d59eaec059b9da9d08c4930c8e50d3e1091cbef8 /src/ui | |
| parent | fix stroke scaling for the objects with the default 1px width (diff) | |
| download | inkscape-5478d41d415db59ab94f953cb6e4106ef6078bb3.tar.gz inkscape-5478d41d415db59ab94f953cb6e4106ef6078bb3.zip | |
more precise simplification control
(bzr r8)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 2 | ||||
| -rw-r--r-- | src/ui/widget/preferences-widget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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); |
