Make the mute hotkey global.

This commit is contained in:
Paul Chote
2017-09-03 18:03:02 +00:00
committed by reaperrr
parent c759a68492
commit 25e88008ef
10 changed files with 59 additions and 27 deletions

View File

@@ -183,12 +183,13 @@ Container@EDITOR_ROOT:
Logic: LoadMapEditorLogic
Children:
LogicKeyListener@GLOBAL_KEYHANDLER:
Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic
Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic, MuteHotkeyLogic
StopMusicKey: StopMusic
PauseMusicKey: PauseMusic
PrevMusicKey: PrevMusic
NextMusicKey: NextMusic
TakeScreenshotKey: TakeScreenshot
MuteAudioKey: ToggleMute
Container@WORLD_ROOT:
Container@MENU_ROOT:
TooltipContainer@TOOLTIP_CONTAINER:

View File

@@ -2,12 +2,13 @@ Container@INGAME_ROOT:
Logic: LoadIngamePlayerOrObserverUILogic
Children:
LogicKeyListener@GLOBAL_KEYHANDLER:
Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic
Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic, MuteHotkeyLogic
StopMusicKey: StopMusic
PauseMusicKey: PauseMusic
PrevMusicKey: PrevMusic
NextMusicKey: NextMusic
TakeScreenshotKey: TakeScreenshot
MuteAudioKey: ToggleMute
Container@WORLD_ROOT:
Logic: LoadIngamePerfLogic
Children:

View File

@@ -2,12 +2,13 @@ Container@MAINMENU:
Logic: MainMenuLogic
Children:
LogicKeyListener@GLOBAL_KEYHANDLER:
Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic
Logic: MusicHotkeyLogic, ScreenshotHotkeyLogic, MuteHotkeyLogic
StopMusicKey: StopMusic
PauseMusicKey: PauseMusic
PrevMusicKey: PrevMusic
NextMusicKey: NextMusic
TakeScreenshotKey: TakeScreenshot
MuteAudioKey: ToggleMute
Background@BORDER:
Background: mainmenu-border
X: 0 - 15