summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--spline-widget/spline-widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spline-widget/spline-widget.cpp b/spline-widget/spline-widget.cpp
index 472862fe..5f766dcd 100644
--- a/spline-widget/spline-widget.cpp
+++ b/spline-widget/spline-widget.cpp
@@ -163,7 +163,7 @@ void spline_widget::drawFunction()
else
{
QColor color(spline_color);
- color.setAlphaF(std::min(.9, color.alphaF()));
+ color.setAlphaF(color.alphaF() * .9);
return color;
}
);