diff layer/FlexiNoteLayer.cpp @ 688:212644efa523 tonioni

Fix uninitialised member
author Chris Cannam
date Fri, 29 Nov 2013 14:51:47 +0000
parents 917039d333bb
children ad12e428785b
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp	Fri Nov 29 14:50:33 2013 +0000
+++ b/layer/FlexiNoteLayer.cpp	Fri Nov 29 14:51:47 2013 +0000
@@ -60,6 +60,7 @@
     m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")),
     m_editingCommand(0),
     m_verticalScale(AutoAlignScale),
+    m_editMode(DragNote),
     m_scaleMinimum(34), 
     m_scaleMaximum(77),
     m_intelligentActions(true)
@@ -1303,7 +1304,8 @@
     if (x >= noteEndX - tol && x <= noteEndX + tol) closeToRight = true;
     if (y >= noteStartY - tol && y <= noteStartY + tol) closeToTop = true;
     if (y >= noteEndY - tol && y <= noteEndY + tol) closeToBottom = true;
-    
+
+//    cerr << "FlexiNoteLayer::getRelativeMousePosition: close to: left " << closeToLeft << " right " << closeToRight << " top " << closeToTop << " bottom " << closeToBottom << endl;
 }