Mercurial > hg > svgui
diff layer/NoteLayer.cpp @ 66:e9eac9368e29
* basics of selectable vertical scale in time value layer
* clear selection when closing session
author | Chris Cannam |
---|---|
date | Mon, 27 Mar 2006 16:44:12 +0000 |
parents | 705f05ab42e3 |
children | bf306158803d |
line wrap: on
line diff
--- a/layer/NoteLayer.cpp Mon Mar 27 15:03:02 2006 +0000 +++ b/layer/NoteLayer.cpp Mon Mar 27 16:44:12 2006 +0000 @@ -408,6 +408,8 @@ float NoteLayer::getValueForY(View *v, int y) const { + //!!! + float min = m_model->getValueMinimum(); float max = m_model->getValueMaximum(); if (max == min) max = min + 1.0;