From 62796cfe458305f629479bcdb4bb5b0aa74a5732 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 2 Nov 2016 11:56:06 +0100 Subject: spline-widget: prevent breakage on values close to zero --- spline-widget/spline.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spline-widget') diff --git a/spline-widget/spline.hpp b/spline-widget/spline.hpp index c0155933..b79263ec 100644 --- a/spline-widget/spline.hpp +++ b/spline-widget/spline.hpp @@ -56,7 +56,7 @@ class OPENTRACK_SPLINE_EXPORT spline final std::vector data; using interp_data_t = decltype(data); - static constexpr int value_count = 500; + static constexpr int value_count = 2048; MyMutex _mutex; QPointF last_input_value; -- cgit v1.2.3