From 0efa1c9adfcf9cee1fb0eaf3f556be789454aa6c Mon Sep 17 00:00:00 2001 From: berk-efe Date: Thu, 6 Nov 2025 16:52:22 +0300 Subject: [PATCH] changed the default value of autoscrolldistance to 10 and autoscrolldistance's explanation on prefs was wrong --- src/preferences-skeleton.h | 2 +- src/ui/dialog/inkscape-preferences.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h index c2745ecdb8..87e024a4b1 100644 --- a/src/preferences-skeleton.h +++ b/src/preferences-skeleton.h @@ -303,7 +303,7 @@ static char const preferences_skeleton[] = - + diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 5e4c846602..8e570ec7e6 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -2691,9 +2691,9 @@ void InkscapePreferences::initPageBehavior() _scroll_auto_speed.init ( "/options/autoscrollspeed/value", 0.0, 5.0, 0.01, 1.0, 0.7, false, false); _page_scrolling.add_line( true, _("_Speed:"), _scroll_auto_speed, "", _("How fast the canvas autoscrolls when you drag beyond canvas edge (0 to turn autoscroll off)"), false); - _scroll_auto_thres.init ( "/options/autoscrolldistance/value", -600.0, 600.0, 1.0, 1.0, -10.0, true, false); + _scroll_auto_thres.init ( "/options/autoscrolldistance/value", -600.0, 600.0, 1.0, 1.0, 10.0, true, false); _page_scrolling.add_line( true, _("_Threshold:"), _scroll_auto_thres, _("pixels"), - _("How far (in screen pixels) you need to be from the canvas edge to trigger autoscroll; positive is outside the canvas, negative is within the canvas"), false); + _("How far (in screen pixels) you need to be from the canvas edge to trigger autoscroll; positive is within the canvas, negative is outside the canvas"), false); _scroll_space.init ( _("Mouse move pans when Space is pressed"), "/options/spacebarpans/value", true); _page_scrolling.add_line( true, "", _scroll_space, "", _("When on, pressing and holding Space and dragging pans canvas")); -- GitLab