diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2019-07-16 03:22:50 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-07-19 21:33:23 +0000 |
| commit | 04657c590610dcb6cc923431b0614eee8e903ab4 (patch) | |
| tree | 8341e02d8d6a67dd2264d8fac150e33681a406f3 /src/ui/toolbar/pencil-toolbar.cpp | |
| parent | Add ruler color customizable (diff) | |
| download | inkscape-04657c590610dcb6cc923431b0614eee8e903ab4.tar.gz inkscape-04657c590610dcb6cc923431b0614eee8e903ab4.zip | |
Fix maren pointed bugs
Diffstat (limited to 'src/ui/toolbar/pencil-toolbar.cpp')
| -rw-r--r-- | src/ui/toolbar/pencil-toolbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/toolbar/pencil-toolbar.cpp b/src/ui/toolbar/pencil-toolbar.cpp index 688524310..54463336a 100644 --- a/src/ui/toolbar/pencil-toolbar.cpp +++ b/src/ui/toolbar/pencil-toolbar.cpp @@ -135,10 +135,10 @@ PencilToolbar::PencilToolbar(SPDesktop *desktop, } /* pressure steps */ { - auto pressurestep_val = prefs->getDouble("/tools/freehand/pencil/pressurestep", 5); - _pressurestep_adj = Gtk::Adjustment::create(pressurestep_val, 0., 100, 1.0, 0.0); + auto pressurestep_val = prefs->getDouble("/tools/freehand/pencil/pressurestep", 2.0); + _pressurestep_adj = Gtk::Adjustment::create(pressurestep_val, 0.0, 100.0, 1.0, 0.0); _pressurestep = Gtk::manage( - new UI::Widget::SpinButtonToolItem("pencil-pressurestep", _("Knot gap:"), _pressurestep_adj, 0, 0)); + new UI::Widget::SpinButtonToolItem("pencil-pressurestep", _("Knot gap:"), _pressurestep_adj, 1.0, 2)); _pressurestep->set_tooltip_text(_("Pressure steps for new knot")); _pressurestep->set_focus_widget(Glib::wrap(GTK_WIDGET(desktop->canvas))); _pressurestep_adj->signal_value_changed().connect( |
