mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: correct check_button in add_state() (#4429)
This commit is contained in:
parent
8dbc3acc56
commit
eb836d1b4f
@ -10,7 +10,7 @@ from module.ui.switch import Switch
|
|||||||
FORMATION = Switch('Formation', offset=(100, 200))
|
FORMATION = Switch('Formation', offset=(100, 200))
|
||||||
FORMATION.add_state('line_ahead', check_button=FORMATION_1)
|
FORMATION.add_state('line_ahead', check_button=FORMATION_1)
|
||||||
FORMATION.add_state('double_line', check_button=FORMATION_2)
|
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 = Switch('Submarine_hunt', offset=(200, 200))
|
||||||
SUBMARINE_HUNT.add_state('on', check_button=SUBMARINE_HUNT_ON)
|
SUBMARINE_HUNT.add_state('on', check_button=SUBMARINE_HUNT_ON)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user