|
From: Tapio V. <aa...@us...> - 2011-02-04 08:35:05
|
Module: editor Branch: master Commit: f8006c7b2a2074b575e1f4d586c69d853774c86a Author: Tapio Vierros <tap...@gm...> Date: Fri Feb 4 10:34:32 2011 +0200 Fix new note y-position. --- notelabelmanager.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/notelabelmanager.cc b/notelabelmanager.cc index 4774957..2783dae 100644 --- a/notelabelmanager.cc +++ b/notelabelmanager.cc @@ -190,7 +190,7 @@ void NoteLabelManager::doOperation(const Operation& op, Operation::OperationFlag NoteLabel *newLabel = new NoteLabel( Note(op.s(2)), // Note(lyric) this, // parent - QPoint(s2px(op.d(3)), n2px(op.i(5))), // x,y + QPoint(s2px(op.d(3)), n2px(op.i(5)) - m_noteHalfHeight), // x,y QSize(s2px(op.d(4) - op.d(3)), 2 * m_noteHalfHeight), // w,h op.b(6) // floating ); |