mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 02:29:16 +08:00
Fix: Sync changes in daemon overview
This commit is contained in:
@@ -459,7 +459,7 @@ class AlasGUI(Frame):
|
|||||||
put_scope('scheduler-bar'),
|
put_scope('scheduler-bar'),
|
||||||
put_scope('groups'),
|
put_scope('groups'),
|
||||||
put_scope('log-bar'),
|
put_scope('log-bar'),
|
||||||
put_scope('log')
|
put_scope("log", [put_html('')])
|
||||||
])
|
])
|
||||||
else:
|
else:
|
||||||
put_scope('daemon-overview', [
|
put_scope('daemon-overview', [
|
||||||
@@ -470,11 +470,13 @@ class AlasGUI(Frame):
|
|||||||
put_scope('log-bar')
|
put_scope('log-bar')
|
||||||
]),
|
]),
|
||||||
put_scope('groups'),
|
put_scope('groups'),
|
||||||
put_scope('log')
|
put_scope("log", [put_html('')])
|
||||||
]),
|
]),
|
||||||
put_none(),
|
put_none(),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
log.console.width = log.get_width()
|
||||||
|
|
||||||
with use_scope('scheduler-bar'):
|
with use_scope('scheduler-bar'):
|
||||||
put_text(t("Gui.Overview.Scheduler")).style(
|
put_text(t("Gui.Overview.Scheduler")).style(
|
||||||
"font-size: 1.25rem; margin: auto .5rem auto;")
|
"font-size: 1.25rem; margin: auto .5rem auto;")
|
||||||
@@ -486,8 +488,8 @@ class AlasGUI(Frame):
|
|||||||
onclick_on=lambda: self.alas.stop(),
|
onclick_on=lambda: self.alas.stop(),
|
||||||
onclick_off=lambda: self.alas.start(task),
|
onclick_off=lambda: self.alas.start(task),
|
||||||
get_state=lambda: self.alas.alive,
|
get_state=lambda: self.alas.alive,
|
||||||
color_on='on',
|
color_on='off',
|
||||||
color_off='off',
|
color_off='on',
|
||||||
scope='scheduler_btn'
|
scope='scheduler_btn'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user