Mercurial > hg > svgui
diff layer/NoteLayer.cpp @ 124:bd6e85b3d88b
* Avoid note layer erasing notes as cursor passes over them
* Correct y coord of notes on note layer
author | Chris Cannam |
---|---|
date | Wed, 26 Jul 2006 16:48:07 +0000 |
parents | 4a6e6aedf632 |
children | 999ae0f7d10c |
line wrap: on
line diff
--- a/layer/NoteLayer.cpp Wed Jul 26 15:32:10 2006 +0000 +++ b/layer/NoteLayer.cpp Wed Jul 26 16:48:07 2006 +0000 @@ -634,7 +634,7 @@ } } - paint.drawRect(x, y - h, w, h); + paint.drawRect(x, y - h/2, w, h); /// if (p.label != "") { /// paint.drawText(x + 5, y - paint.fontMetrics().height() + paint.fontMetrics().ascent(), p.label);