Removed debug prints.
This commit is contained in:
parent
d89e8bf96e
commit
6fb6280bad
1 changed files with 0 additions and 5 deletions
5
pg.py
5
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue