comparison layer/TimeValueLayer.cpp @ 1365:a1393b4384a5

Minor tidying
author Chris Cannam
date Tue, 30 Oct 2018 15:32:05 +0000
parents d79e21855aef
children c39f2d439d59
comparison
equal deleted inserted replaced
1364:7d28e7522dbd 1365:a1393b4384a5
198 } 198 }
199 199
200 } else if (name == "Draw Segment Division Lines") { 200 } else if (name == "Draw Segment Division Lines") {
201 201
202 if (min) *min = 0; 202 if (min) *min = 0;
203 if (max) *max = 0; 203 if (max) *max = 1;
204 if (deflt) *deflt = 1; 204 if (deflt) *deflt = 1;
205 val = (m_drawSegmentDivisions ? 1.0 : 0.0); 205 val = (m_drawSegmentDivisions ? 1.0 : 0.0);
206 206
207 } else if (name == "Show Derivative") { 207 } else if (name == "Show Derivative") {
208 208
209 if (min) *min = 0; 209 if (min) *min = 0;
210 if (max) *max = 0; 210 if (max) *max = 1;
211 if (deflt) *deflt = 0; 211 if (deflt) *deflt = 0;
212 val = (m_derivative ? 1.0 : 0.0); 212 val = (m_derivative ? 1.0 : 0.0);
213 213
214 } else { 214 } else {
215 215