diff options
Diffstat (limited to 'helpers/key.py')
-rw-r--r-- | helpers/key.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/key.py b/helpers/key.py index 7b8051e..57fdef1 100644 --- a/helpers/key.py +++ b/helpers/key.py | |||
@@ -149,7 +149,7 @@ class Key: | |||
149 | #print("actions linked to key {}:".format(self.key_sym)) | 149 | #print("actions linked to key {}:".format(self.key_sym)) |
150 | #print("\t" + "\n\t".join(action_descriptions)) | 150 | #print("\t" + "\n\t".join(action_descriptions)) |
151 | self.draw_lock.acquire() | 151 | self.draw_lock.acquire() |
152 | surface = pygame.Surface((800, 250)).convert() | 152 | surface = pygame.Surface((690, 250)).convert() |
153 | surface.fill((250, 250, 250)) | 153 | surface.fill((250, 250, 250)) |
154 | if getattr(sys, 'frozen', False): | 154 | if getattr(sys, 'frozen', False): |
155 | police = pygame.font.Font(sys._MEIPASS + "/Ubuntu-Regular.ttf", 14) | 155 | police = pygame.font.Font(sys._MEIPASS + "/Ubuntu-Regular.ttf", 14) |
@@ -168,7 +168,7 @@ class Key: | |||
168 | surface.blit(text, (0, offset)) | 168 | surface.blit(text, (0, offset)) |
169 | offset += police.get_linesize() | 169 | offset += police.get_linesize() |
170 | 170 | ||
171 | screen.blit(surface, (10, 330)) | 171 | screen.blit(surface, (5, 308)) |
172 | pygame.display.flip() | 172 | pygame.display.flip() |
173 | self.draw_lock.release() | 173 | self.draw_lock.release() |
174 | 174 | ||