change the actual controller fx_mode when tapping the lozenge_buttons

This commit is contained in:
2025-09-01 11:47:16 +02:00
parent 5fe9d7cada
commit ce9b7c39ec
2 changed files with 7 additions and 1 deletions

View File

@ -23,6 +23,7 @@ class LozengeButton:
if math.sqrt(math.pow(pos[0] - self.x, 2) + math.pow(pos[1] - self.y, 2)) < self.radius_y:
self.focused = True
self.gui.set_fx_mode_by_name(self.side, self.name)
self.gui.set_controller_fx_mode(self.side, self.name)
if self.focused:
w = 0