Mercurial > hg > svgui
comparison layer/TimeValueLayer.cpp @ 439:681542f0c8c5
* Add vertical zoom/pan to note layer as well (when not in auto-align
or MIDI scale modes)
author | Chris Cannam |
---|---|
date | Fri, 24 Oct 2008 16:43:59 +0000 |
parents | 76cd1c89eb06 |
children | 4a14499fb184 |
comparison
equal
deleted
inserted
replaced
438:76cd1c89eb06 | 439:681542f0c8c5 |
---|---|
305 TimeValueLayer::getVerticalZoomSteps(int &defaultStep) const | 305 TimeValueLayer::getVerticalZoomSteps(int &defaultStep) const |
306 { | 306 { |
307 if (shouldAutoAlign()) return 0; | 307 if (shouldAutoAlign()) return 0; |
308 if (!m_model) return 0; | 308 if (!m_model) return 0; |
309 | 309 |
310 defaultStep = 100; | 310 defaultStep = 0; |
311 return 100; | 311 return 100; |
312 } | 312 } |
313 | 313 |
314 int | 314 int |
315 TimeValueLayer::getCurrentVerticalZoomStep() const | 315 TimeValueLayer::getCurrentVerticalZoomStep() const |