From 9de92b6dd2bd906f6a64fce7c90a6aff0dbb27a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 20 Jun 2016 23:08:22 +0200 Subject: Added music name, currently playing musics, pause/unpause --- helpers/key.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helpers/key.py') 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: #print("actions linked to key {}:".format(self.key_sym)) #print("\t" + "\n\t".join(action_descriptions)) self.draw_lock.acquire() - surface = pygame.Surface((800, 250)).convert() + surface = pygame.Surface((690, 250)).convert() surface.fill((250, 250, 250)) if getattr(sys, 'frozen', False): police = pygame.font.Font(sys._MEIPASS + "/Ubuntu-Regular.ttf", 14) @@ -168,7 +168,7 @@ class Key: surface.blit(text, (0, offset)) offset += police.get_linesize() - screen.blit(surface, (10, 330)) + screen.blit(surface, (5, 308)) pygame.display.flip() self.draw_lock.release() -- cgit v1.2.3