summaryrefslogtreecommitdiffhomepage
path: root/spline
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-11-10 20:48:34 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-11-11 02:19:54 +0000
commit1171d33839f67c903f108fc25d43f7855fee209b (patch)
tree0e09b196cbde22004396c0a27b10120bbf3b4642 /spline
parent9e69affcf1b31df0b29d917a3bbcad3a6e851c4a (diff)
spline/widget: remove pointless fmax
Diffstat (limited to 'spline')
-rw-r--r--spline/spline-widget.cpp2
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;
}