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