add restore in POWEROPT event

This commit is contained in:
cuu 2018-07-03 19:54:41 +08:00 committed by clockworkpi
parent 586aa75ae4
commit 88523224de

View File

@ -226,7 +226,8 @@ def event_process(event,main_screen):
if event.type == POWEROPT:
everytime_keydown = time.time()
RestoreLastBackLightBrightness(main_screen)
return
if event.type == pygame.KEYUP: