mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 09:48:50 +01:00
pygame.DOUBLEBUF | pygame.HWSURFACE
This commit is contained in:
parent
712ce14fc5
commit
e15cf60412
@ -106,7 +106,7 @@ class Page(Widget):
|
||||
_FootMsg = ["Nav", "", "", "", "Enter"] # Default Page Foot info
|
||||
_Wallpaper = None
|
||||
_SelectedIconTopOffset = 20
|
||||
_EasingDur = 30
|
||||
_EasingDur = 20/config.GlobalScale
|
||||
_Padding = pygame.Rect(0, 0, 0, 0) # x,y,w,h
|
||||
_Margin = pygame.Rect(0, 0, 0, 0)
|
||||
_ScrollStep = 1
|
||||
|
||||
@ -640,7 +640,7 @@ if __name__ == '__main__':
|
||||
os.chdir( os.path.dirname(os.path.realpath(__file__)) )
|
||||
|
||||
SCREEN_SIZE = (Width*config.GlobalScale,Height*config.GlobalScale)
|
||||
screen = pygame.display.set_mode(SCREEN_SIZE, 0, 32)
|
||||
screen = pygame.display.set_mode(SCREEN_SIZE,pygame.DOUBLEBUF | pygame.HWSURFACE, 32)
|
||||
|
||||
pygame.event.set_allowed(None)
|
||||
pygame.event.set_allowed([pygame.KEYDOWN,pygame.KEYUP,RUNEVT,RUNSYS,POWEROPT,RESTARTUI,RUNSH])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user