1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

Fix: correct check_button in add_state() (#4429)

This commit is contained in:
sui_feng
2024-12-13 09:52:45 +08:00
committed by GitHub
parent 8dbc3acc56
commit eb836d1b4f

View File

@@ -10,7 +10,7 @@ from module.ui.switch import Switch
FORMATION = Switch('Formation', offset=(100, 200))
FORMATION.add_state('line_ahead', check_button=FORMATION_1)
FORMATION.add_state('double_line', check_button=FORMATION_2)
FORMATION.add_state('diamond', check_button=SUBMARINE_HUNT_ON)
FORMATION.add_state('diamond', check_button=FORMATION_3)
SUBMARINE_HUNT = Switch('Submarine_hunt', offset=(200, 200))
SUBMARINE_HUNT.add_state('on', check_button=SUBMARINE_HUNT_ON)