Remove unnecesseray double UIAnchorLayout with controller support and setting of controller events on window

This commit is contained in:
csd4ni3l
2025-06-25 09:54:19 +02:00
parent ffcf12552a
commit 1780ab7e8d
5 changed files with 14 additions and 23 deletions

View File

@@ -17,9 +17,7 @@ class SierpinskyCarpetViewer(arcade.gui.UIView):
self.zoom = 1.0
self.click_center = (self.width / 2, self.height / 2)
self.has_controller = False
self.window.on_stick_motion = self.on_stick_motion
def on_show_view(self):
super().on_show_view()