summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/pt-settings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-03-28 23:19:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-04-19 14:52:14 +0200
commit9e403da98b9ca8f43f928b9f5c899aba7fa5471d (patch)
treef9a26c798e3c884c3543e2215bd741163b501dfe /tracker-pt/pt-settings.hpp
parent8a3a1b9510d20dfb81c3c737779bb9de3c73f15a (diff)
tracker/pt: add point filter deadzone
Diffstat (limited to 'tracker-pt/pt-settings.hpp')
-rw-r--r--tracker-pt/pt-settings.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tracker-pt/pt-settings.hpp b/tracker-pt/pt-settings.hpp
index 54f13283..6f7a18d5 100644
--- a/tracker-pt/pt-settings.hpp
+++ b/tracker-pt/pt-settings.hpp
@@ -71,6 +71,7 @@ struct pt_settings final : options::opts
value<bool> enable_point_filter{ b, "enable-point-filter", false };
value<slider_value> point_filter_coefficient { b, "point-filter-coefficient", { 1.0, 0, 4 } };
value<slider_value> point_filter_limit { b, "point-filter-limit", { 0.1, 0.01, 1 }};
+ value<slider_value> point_filter_deadzone { b, "point-filter-deadzone", {0, 0, 1} };
explicit pt_settings(const QString& name) : opts(name) {}
};