This commit is contained in:
cuu 2018-07-05 11:45:37 +08:00
parent 0f0e3563e0
commit 851148dd65

View File

@ -518,15 +518,17 @@ class MainScreen(object):
self.EasingAllPageRight() self.EasingAllPageRight()
#self.SwapAndShow() #self.SwapAndShow()
""" """
if event.key == pygame.K_t: if event.key == pygame.K_t:
self.DrawRun() self.DrawRun()
self.SwapAndShow() self.SwapAndShow()
"""
if event.key == CurKeys["Space"]: if event.key == CurKeys["Space"]:
self._CounterScreen.Draw() self._CounterScreen.Draw()
self._CounterScreen.SwapAndShow() self._CounterScreen.SwapAndShow()
self._CounterScreen.StartCounter() self._CounterScreen.StartCounter()
"""
## leave rest to Pages ## leave rest to Pages
current_page_key_down_cb = getattr(self._CurrentPage,"KeyDown",None) current_page_key_down_cb = getattr(self._CurrentPage,"KeyDown",None)
if current_page_key_down_cb != None: if current_page_key_down_cb != None: