mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-13 18:28:50 +01:00
disbale sound patch while over Sound Setting page in Settings
This commit is contained in:
parent
f4065206cc
commit
b81b7b499f
@ -202,7 +202,7 @@ def event_process(event,main_screen):
|
|||||||
exit()
|
exit()
|
||||||
|
|
||||||
if event.key == pygame.K_KP_PLUS:
|
if event.key == pygame.K_KP_PLUS:
|
||||||
|
if main_screen._CurrentPage._Name != "Sound volume": ## name from Menu/GameShell/10_Settings/Sound/pages.py
|
||||||
main_screen.Draw()
|
main_screen.Draw()
|
||||||
sound_patch.VolumeUp()
|
sound_patch.VolumeUp()
|
||||||
sound_patch.Draw()
|
sound_patch.Draw()
|
||||||
@ -213,6 +213,7 @@ def event_process(event,main_screen):
|
|||||||
#main_screen.SwapAndShow()
|
#main_screen.SwapAndShow()
|
||||||
|
|
||||||
if event.key == pygame.K_KP_MINUS:
|
if event.key == pygame.K_KP_MINUS:
|
||||||
|
if main_screen._CurrentPage._Name != "Sound volume":
|
||||||
main_screen.Draw()
|
main_screen.Draw()
|
||||||
|
|
||||||
sound_patch.VolumeDown()
|
sound_patch.VolumeDown()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user