2
This commit is contained in:
ssssssssboom 2024-06-06 19:49:53 +08:00
parent 228102d0c4
commit 0a94b7c11d

View File

@ -873,9 +873,6 @@ class PressControlShipsListButton(PressTextButton):
self.parent_window = parent_window self.parent_window = parent_window
def on_mouse_release(self, x, y, buttons, modifiers): def on_mouse_release(self, x, y, buttons, modifiers):
logger.info(x,y,self.x,self.y)
logger.info(self.pressed)
logger.info((x, y) in self)
if self.pressed and (x, y) in self: if self.pressed and (x, y) in self:
if self.draw_theme: if self.draw_theme:
self.draw_theme.on_disable(self) self.draw_theme.on_disable(self)