mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-29 02:57:25 +00:00
Opt: [ALAS] Remove purple color when planner full
This commit is contained in:
parent
b7df51c0e8
commit
2d0b67271d
@ -413,10 +413,16 @@ def put_arg_planner(kwargs: T_Output_Kwargs) -> Output | None:
|
|||||||
if isinstance(total, dict):
|
if isinstance(total, dict):
|
||||||
total = tuple(total.values())
|
total = tuple(total.values())
|
||||||
|
|
||||||
|
if eta:
|
||||||
row = put_scope(f"arg_stored-stored-value-{name}", [
|
row = put_scope(f"arg_stored-stored-value-{name}", [
|
||||||
put_text(f"{progress:.2f}%{eta}").style("--dashboard-bold--"),
|
put_text(f"{progress:.2f}%{eta}").style("--dashboard-bold--"),
|
||||||
put_text(f"{value} / {total}").style("--dashboard-time--"),
|
put_text(f"{value} / {total}").style("--dashboard-time--"),
|
||||||
])
|
])
|
||||||
|
else:
|
||||||
|
row = put_scope(f"arg_stored-stored-value-{name}", [
|
||||||
|
put_text(f"{progress:.2f}%").style("--dashboard-value--"),
|
||||||
|
put_text(f"{value} / {total}").style("--dashboard-time--"),
|
||||||
|
])
|
||||||
|
|
||||||
return put_scope(
|
return put_scope(
|
||||||
f"arg_container-planner-{name}",
|
f"arg_container-planner-{name}",
|
||||||
|
Loading…
Reference in New Issue
Block a user