From 6fb6280bad1565d4c2665518a410e55e0df4f5c3 Mon Sep 17 00:00:00 2001 From: EKNr1 Date: Sun, 12 Nov 2023 15:00:53 +0100 Subject: [PATCH] Removed debug prints. --- pg.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pg.py b/pg.py index 420704c..711eae9 100644 --- a/pg.py +++ b/pg.py @@ -41,7 +41,6 @@ class Hover: mx, my = mouse_pos if not self.ca is None: - print(type(self.ca)) if self.ca.collidepoint((mx, my)): if self.function is None: return True @@ -84,8 +83,6 @@ class Button: self.ca = ca self.key = key - print(type(ca)) - self.hover = Hover(function, ca, position, size) if buttonlist: @@ -196,8 +193,6 @@ class TextButton: self.button = Button(new_func, self.background, key=new_key) - - def blit(self, surface: pygame.Surface=None): x, y = self.position