1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-17 00:07:54 +01:00

Fix bug 187.

This commit is contained in:
v.audacity
2012-02-14 00:18:29 +00:00
parent fbb6ed4fe6
commit 0d08f11504
3 changed files with 20 additions and 0 deletions

View File

@@ -1650,6 +1650,14 @@ bool AudacityProject::HandleKeyDown(wxKeyEvent & event)
if (event.GetKeyCode() == WXK_CONTROL)
mTrackPanel->HandleControlKey(true);
// Allow PageUp and PageDown keys to
//scroll the Track Panel left and right
if (event.GetKeyCode() == WXK_PAGEUP)
mTrackPanel->HandlePageUpKey();
if (event.GetKeyCode() == WXK_PAGEDOWN)
mTrackPanel->HandlePageDownKey();
// If a window has captured the keyboard, then allow it
// first dibs at the event. If it does an event.Skip(false)
// then allow the event to process as normal, bypassing the