|
From: Tapio V. <aa...@us...> - 2011-02-04 09:34:41
|
Module: editor
Branch: master
Commit: 95c98b8c178a87f893691a79db55c6f609e1e733
Author: Tapio Vierros <tap...@gm...>
Date: Fri Feb 4 11:33:11 2011 +0200
Now note does not jump higher when timing.
---
notegraphwidget.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/notegraphwidget.cc b/notegraphwidget.cc
index ee87d7a..eb5a572 100644
--- a/notegraphwidget.cc
+++ b/notegraphwidget.cc
@@ -225,7 +225,7 @@ void NoteGraphWidget::timeCurrent()
Operation op("MOVE");
op << getNoteLabelId(selectedNote())
<< px2s(m_seekHandle.curx()) << px2s(m_seekHandle.curx() + selectedNote()->width())
- << int(round(px2n(selectedNote()->y() + m_noteHalfHeight))) + 1;
+ << int(round(px2n(selectedNote()->y() + m_noteHalfHeight)));
doOperation(op);
}
}
|