Ping aus Dashboard 1 versetzt
This commit is contained in:
parent
954c74f130
commit
709cea301b
1 changed files with 15 additions and 9 deletions
24
down.py
24
down.py
|
|
@ -505,18 +505,15 @@ def draw_dashboard_1():
|
|||
font=font_small_bold
|
||||
)
|
||||
|
||||
draw.text(
|
||||
(10, 55),
|
||||
f"PING: {ping:.1f} ms",
|
||||
fill=ping_color,
|
||||
font=font_small_bold
|
||||
)
|
||||
|
||||
|
||||
draw.line(
|
||||
(10, 80, WIDTH - 10, 80),
|
||||
(10, 60, WIDTH - 10, 60),
|
||||
fill="white"
|
||||
)
|
||||
|
||||
|
||||
|
||||
# DOWNLOAD
|
||||
|
||||
draw.text(
|
||||
|
|
@ -540,6 +537,15 @@ def draw_dashboard_1():
|
|||
font=font_delta
|
||||
)
|
||||
|
||||
# PING
|
||||
|
||||
draw.text(
|
||||
(300, 95),
|
||||
f"PING: {ping:.1f} ms",
|
||||
fill=ping_color,
|
||||
font=font_small_bold
|
||||
)
|
||||
|
||||
# UPLOAD
|
||||
|
||||
draw.text(
|
||||
|
|
@ -648,7 +654,7 @@ def draw_dashboard_2():
|
|||
)
|
||||
|
||||
draw.line(
|
||||
(10, 80, WIDTH - 10, 80),
|
||||
(10, 60, WIDTH - 10, 60),
|
||||
fill="white"
|
||||
)
|
||||
|
||||
|
|
@ -735,7 +741,7 @@ def draw_dashboard_3():
|
|||
)
|
||||
|
||||
draw.line(
|
||||
(10, 80, WIDTH - 10, 80),
|
||||
(10, 60, WIDTH - 10, 60),
|
||||
fill="white"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue