Merge pull request #3 from cuu/master

recalc repeat timeout
This commit is contained in:
clockworkpi 2018-05-26 18:29:07 +08:00 committed by GitHub
commit e35a8b3761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,7 +302,7 @@ if __name__ == '__main__':
pygame.event.set_allowed(None)
pygame.event.set_allowed([pygame.KEYDOWN,pygame.KEYUP,GMEVT,RUNEVT,RUNSYS])
pygame.key.set_repeat(DT+234, DT+123)
pygame.key.set_repeat(DT+DT*6+DT/2, DT+DT*3+DT/2)
MyIconPool.Init()