diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-11-10 20:48:34 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-11-11 02:19:54 +0000 |
commit | 1171d33839f67c903f108fc25d43f7855fee209b (patch) | |
tree | 0e09b196cbde22004396c0a27b10120bbf3b4642 | |
parent | 9e69affcf1b31df0b29d917a3bbcad3a6e851c4a (diff) |
spline/widget: remove pointless fmax
-rw-r--r-- | spline/spline-widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp index 2d66371c..64f9f156 100644 --- a/spline/spline-widget.cpp +++ b/spline/spline-widget.cpp @@ -493,7 +493,7 @@ void spline_widget::reload_spline() double spline_widget::min_pt_distance() const { - double pt = 3*std::fmax(point_size_in_pixels, point_size_in_pixels_) / c.x(); + double pt = 3*point_size_in_pixels / c.x(); pt = snap(pt, snap_x); return pt; } |