History

Migrated Audioscope Hotkeys to use F2 instead of P

Apparently ctrl + shift + P which was planned to be used in the client for unparenting entities did not work out, as the command went out of the main view. Migrating to ctrl + F2 and ctrl + alt + F2

Menithal committed 9 years ago

Commit ff2c3441 parent 7afe0d71 file · +2 −2Browse files

Showing the changes to interface/src/Menu.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Menu.cpp+2−2
@@ -628,9 +628,9 @@ Menu::Menu() { · 627 unmodified lines
628 628
629 auto scope = DependencyManager::get<AudioScope>();629 auto scope = DependencyManager::get<AudioScope>();
630 MenuWrapper* audioScopeMenu = audioDebugMenu->addMenu("Audio Scope");630 MenuWrapper* audioScopeMenu = audioDebugMenu->addMenu("Audio Scope");
631 addCheckableActionToQMenuAndActionHash(audioScopeMenu, MenuOption::AudioScope, Qt::CTRL | Qt::ALT | Qt::Key_P, false,631 addCheckableActionToQMenuAndActionHash(audioScopeMenu, MenuOption::AudioScope, Qt::CTRL | Qt::Key_F2, false,
632 scope.data(), SLOT(toggle()));632 scope.data(), SLOT(toggle()));
633 addCheckableActionToQMenuAndActionHash(audioScopeMenu, MenuOption::AudioScopePause, Qt::CTRL | Qt::ALT | Qt::SHIFT | Qt::Key_P, false,633 addCheckableActionToQMenuAndActionHash(audioScopeMenu, MenuOption::AudioScopePause, Qt::CTRL | Qt::ALT | Qt::Key_F2, false,
634 scope.data(), SLOT(togglePause()));634 scope.data(), SLOT(togglePause()));
635 635
636 addDisabledActionAndSeparator(audioScopeMenu, "Display Frames");636 addDisabledActionAndSeparator(audioScopeMenu, "Display Frames");