From f53cc15b1209140519371940f97c696d6166b7b8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Jan 2017 11:10:18 +0100 Subject: spline-widget/spline: all logic must take zoom into effect --- spline-widget/spline.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'spline-widget/spline.hpp') diff --git a/spline-widget/spline.hpp b/spline-widget/spline.hpp index ade7f69a..d9635397 100644 --- a/spline-widget/spline.hpp +++ b/spline-widget/spline.hpp @@ -49,6 +49,7 @@ class OPENTRACK_SPLINE_EXPORT spline final static bool sort_fn(const QPointF& one, const QPointF& two); static QPointF ensure_in_bounds(const QList& points, double max_x, int i); + static int element_count(const QList& points, double max_x); mem s; QMetaObject::Connection connection; -- cgit v1.2.3