mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
ScrollIntoView out of TrackPanel, into ProjectWindow
This commit is contained in:
@@ -1302,7 +1302,7 @@ unsigned LabelTrackView::KeyDown(
|
||||
// Make sure caret is in view
|
||||
int x;
|
||||
if (CalcCursorX( *project, &x ))
|
||||
TrackPanel::Get( *project ).ScrollIntoView(x);
|
||||
ProjectWindow::Get( *project ).ScrollIntoView(x);
|
||||
|
||||
// If selection modified, refresh
|
||||
// Otherwise, refresh track display if the keystroke was handled
|
||||
|
||||
Reference in New Issue
Block a user