diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-26 11:27:54 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-26 11:27:54 +0200 |
commit | f4417361b0fd580855ec84d3c2159162c4426c43 (patch) | |
tree | 4faa9903e6e9b0e1a3ccb825405e19d85fcb6112 /qfunctionconfigurator/qfunctionconfigurator.h | |
parent | a0d668b148177f597f286ce7dfe01d06e48f97eb (diff) | |
parent | 058f823f432484594a816b2489ea2edb2b56d5a4 (diff) |
Merge branch 'unstable' into trackhat-ui
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.h')
-rw-r--r-- | qfunctionconfigurator/qfunctionconfigurator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.h b/qfunctionconfigurator/qfunctionconfigurator.h index 5b75d84d..59c8ffeb 100644 --- a/qfunctionconfigurator/qfunctionconfigurator.h +++ b/qfunctionconfigurator/qfunctionconfigurator.h @@ -49,6 +49,7 @@ protected: void resizeEvent(QResizeEvent *) override; private: void update_range(); + static constexpr int point_closeness_limit = 12; QPointF pixel_coord_to_point (const QPointF& point); QPointF point_to_pixel (const QPointF& point); |