mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-13 10:18:51 +01:00
disbale sound patch while over Sound Setting page in Settings
This commit is contained in:
parent
f4065206cc
commit
b81b7b499f
@ -202,27 +202,28 @@ 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()
|
||||||
|
|
||||||
main_screen.SwapAndShow()
|
main_screen.SwapAndShow()
|
||||||
#pygame.time.delay(200)
|
#pygame.time.delay(200)
|
||||||
#main_screen.Draw()
|
#main_screen.Draw()
|
||||||
#main_screen.SwapAndShow()
|
#main_screen.SwapAndShow()
|
||||||
|
|
||||||
if event.key == pygame.K_KP_MINUS:
|
if event.key == pygame.K_KP_MINUS:
|
||||||
main_screen.Draw()
|
if main_screen._CurrentPage._Name != "Sound volume":
|
||||||
|
main_screen.Draw()
|
||||||
sound_patch.VolumeDown()
|
|
||||||
sound_patch.Draw()
|
sound_patch.VolumeDown()
|
||||||
|
sound_patch.Draw()
|
||||||
main_screen.SwapAndShow()
|
|
||||||
#pygame.time.delay(200)
|
main_screen.SwapAndShow()
|
||||||
#main_screen.Draw()
|
#pygame.time.delay(200)
|
||||||
#main_screen.SwapAndShow()
|
#main_screen.Draw()
|
||||||
|
#main_screen.SwapAndShow()
|
||||||
|
|
||||||
|
|
||||||
###########################################################
|
###########################################################
|
||||||
if event.key == pygame.K_ESCAPE:
|
if event.key == pygame.K_ESCAPE:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user