summaryrefslogtreecommitdiff
path: root/src/canvastoolselections.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-09-23 16:13:37 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-09-28 17:50:51 +0200
commit8040f48974d88c6d30dff720a2ffb27e0cf54814 (patch)
tree683dfa7f973c1febc5204dd3912a484f991b47e8 /src/canvastoolselections.cc
parentd1d43a62031431ec0fa28fb5cefaa56082f79da5 (diff)
Integrate channel map into file list in instrument editor.
Diffstat (limited to 'src/canvastoolselections.cc')
-rw-r--r--src/canvastoolselections.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/canvastoolselections.cc b/src/canvastoolselections.cc
index 0012d8e..d3e90f1 100644
--- a/src/canvastoolselections.cc
+++ b/src/canvastoolselections.cc
@@ -293,7 +293,7 @@ void CanvasToolSelections::doAutoCreateSelections(bool preview)
if(data[from] > 0.0)
{
- while(data[from] > data[from-1] && // Falling
+ while(/*data[from] > data[from-1] &&*/ // Falling
data[from-1] > 0.0 // Not crossing zero
)
{
@@ -302,7 +302,7 @@ void CanvasToolSelections::doAutoCreateSelections(bool preview)
}
else if(data[from] < 0.0)
{
- while(data[from] < data[from-1] && // Rising
+ while(/*data[from] < data[from-1] &&*/ // Rising
data[from-1] < 0.0 // Not crossing zero
)
{