fix: lost save after shutdown
Python Lint CI / ty (push) Successful in 6m23s
Python Lint CI / ruff (push) Successful in 6m27s
Python Lint CI / ruff-format-check (push) Successful in 6m24s

This commit is contained in:
2026-11-11 19:30:17 +01:00
parent 03f0768d46
commit a53cab17f0
7 changed files with 85 additions and 31 deletions
+2 -4
View File
@@ -46,9 +46,6 @@ def __get_loading_display(data: ForgeData, t0: float) -> Image.Image:
draw.rectangle((24, 35, 24 + 80 * percent, 40), fill="white")
if data.state == ForgeState.INITIAL:
draw.circle((4, 4), 1, fill="white")
return im
@@ -72,7 +69,8 @@ def __get_running_display(data: ForgeData) -> Image.Image:
if data.auto_random:
draw.rectangle(
(
67, 7,
67,
7,
67
+ int(
53