mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-20 23:51:18 +01:00
Implement scrolling for the note track vertical ruler
Command zooms in/out, and shift moves up and down.
This commit is contained in:
@@ -912,7 +912,7 @@ void NoteTrack::VScroll(int start, int end)
|
||||
}
|
||||
|
||||
// Zoom the note track, centering the pitch at centerY,
|
||||
// amount is 1 for zoom in, and -1 for zoom out
|
||||
// positive amounts zoom in; negative amounts zoom out
|
||||
void NoteTrack::Zoom(const wxRect &rect, int centerY, int amount)
|
||||
{
|
||||
// Construct track rectangle to map pitch to screen coordinates
|
||||
|
||||
Reference in New Issue
Block a user