From d4e0a7de8dbaf1c28f9653cea27b23d35b34eef2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 16 May 2017 10:53:36 +0200 Subject: filter/accela: add minimum allowed sensitivity Allow sliding sensitivity .5 -> 3 rather than .1 -> 2. --- filter-accela/accela-settings.hpp | 2 +- filter-accela/ftnoir_accela_filtercontrols.ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/filter-accela/accela-settings.hpp b/filter-accela/accela-settings.hpp index eaf18325..53ffe7c7 100644 --- a/filter-accela/accela-settings.hpp +++ b/filter-accela/accela-settings.hpp @@ -46,7 +46,7 @@ struct settings_accela : opts value rot_nonlinearity; settings_accela() : opts("accela-sliders"), - rot_sensitivity(b, "rotation-sensitivity", slider_value(1.5, .1, 2)), + rot_sensitivity(b, "rotation-sensitivity", slider_value(1.5, .5, 3)), pos_sensitivity(b, "translation-sensitivity", slider_value(1., .05, 1.5)), rot_deadzone(b, "rotation-deadzone", slider_value(.03, 0, .1)), pos_deadzone(b, "translation-deadzone", slider_value(.1, 0, 1)), diff --git a/filter-accela/ftnoir_accela_filtercontrols.ui b/filter-accela/ftnoir_accela_filtercontrols.ui index 62fe55aa..c4d29772 100644 --- a/filter-accela/ftnoir_accela_filtercontrols.ui +++ b/filter-accela/ftnoir_accela_filtercontrols.ui @@ -278,7 +278,7 @@ 0 - 38 + 20 5 -- cgit v1.2.3