diff layer/FlexiNoteLayer.cpp @ 634:4fa3951bbb05 tonioni

different colours, some minor changes, mainly debugging cerrs
author matthiasm
date Fri, 19 Apr 2013 15:37:27 +0100
parents 03d5f370c9a0
children 5c9dcec5f3e9
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp	Wed Apr 17 09:15:05 2013 +0100
+++ b/layer/FlexiNoteLayer.cpp	Fri Apr 19 15:37:27 2013 +0100
@@ -55,7 +55,7 @@
     m_originalPoint(0, 0.0, 0, 1.f, tr("New Point")),
     m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")),
     m_editingCommand(0),
-    m_verticalScale(MIDIRangeScale),
+    m_verticalScale(AutoAlignScale),
     m_scaleMinimum(34), 
     m_scaleMaximum(77)
 {
@@ -227,7 +227,7 @@
 
     if (m_verticalScale == MIDIRangeScale) {
         min = Pitch::getFrequencyForPitch(0);
-        max = Pitch::getFrequencyForPitch(70);
+        max = Pitch::getFrequencyForPitch(127);
         return true;
     }