mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-13 10:17:00 +08:00
Opt: Highlight current button
- Fix: Save config to correct file - Opt: Only translate mode reload languages - Del: UI install - Fix: Forgot to set current status - Fix: Add newline to log after stop alas
This commit is contained in:
@@ -114,3 +114,9 @@ def login(password):
|
||||
else:
|
||||
toast('Wrong password!', color='error')
|
||||
return False
|
||||
|
||||
def active_button(position, value):
|
||||
run_js(f"""
|
||||
$("button.btn-{position}").removeClass("btn-{position}-active");
|
||||
$("div[style*='--{position}-{value}--']>button").addClass("btn-{position}-active");
|
||||
""")
|
||||
Reference in New Issue
Block a user