Mercurial > hg > svgui
diff layer/TimeValueLayer.cpp @ 1365:a1393b4384a5
Minor tidying
author | Chris Cannam |
---|---|
date | Tue, 30 Oct 2018 15:32:05 +0000 |
parents | d79e21855aef |
children | c39f2d439d59 |
line wrap: on
line diff
--- a/layer/TimeValueLayer.cpp Tue Oct 30 15:32:01 2018 +0000 +++ b/layer/TimeValueLayer.cpp Tue Oct 30 15:32:05 2018 +0000 @@ -200,14 +200,14 @@ } else if (name == "Draw Segment Division Lines") { if (min) *min = 0; - if (max) *max = 0; + if (max) *max = 1; if (deflt) *deflt = 1; val = (m_drawSegmentDivisions ? 1.0 : 0.0); } else if (name == "Show Derivative") { if (min) *min = 0; - if (max) *max = 0; + if (max) *max = 1; if (deflt) *deflt = 0; val = (m_derivative ? 1.0 : 0.0);