mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 02:48:23 +08:00
Add: Claim mail rewards
This commit is contained in:
@@ -16,6 +16,8 @@ class Setting:
|
||||
self.main: ModuleBase = main
|
||||
# Reset options before setting any options
|
||||
self.reset_first = True
|
||||
# Deselect active options
|
||||
self.need_deselect = False
|
||||
# (setting, opiton_name): option_button
|
||||
# {
|
||||
# ('sort', 'rarity'): Button(),
|
||||
@@ -108,6 +110,9 @@ class Setting:
|
||||
active = self.is_option_active(option_button)
|
||||
if enable and not active:
|
||||
click.append(option_button)
|
||||
if self.need_deselect:
|
||||
if not enable and active:
|
||||
click.append(option_button)
|
||||
return click
|
||||
|
||||
def _set_execute(self, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user