fix: lost save after shutdown
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user