From 52de478682bd88dc80bff53d96b0d9132e3f1978 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Sat, 10 Oct 2020 21:38:48 +0100 Subject: [PATCH] apps: fibonacci_clock: Nudge the clock down a few pixels The better manages the space between the battery meter and the clock. Signed-off-by: Daniel Thompson --- wasp/apps/fibonacci_clock.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wasp/apps/fibonacci_clock.py b/wasp/apps/fibonacci_clock.py index 6133bb9..5e3d27f 100644 --- a/wasp/apps/fibonacci_clock.py +++ b/wasp/apps/fibonacci_clock.py @@ -112,18 +112,18 @@ class FibonacciClockApp(): mn -= self.fields[i] field_colors[i] += 2 - draw.fill(x=71,y=51,w=23,h=23,bg=self.color_codes[field_colors[4]]) # 1 field - draw.fill(x=71,y=76,w=23,h=23,bg=self.color_codes[field_colors[3]]) # 1 field - draw.fill(x=21,y=51,w=48,h=48,bg=self.color_codes[field_colors[2]]) # 2 field - draw.fill(x=21,y=101,w=73,h=73,bg=self.color_codes[field_colors[1]]) # 3 field - draw.fill(x=96,y=51,w=123,h=123,bg=self.color_codes[field_colors[0]]) # 5 field + draw.fill(x=71,y=60,w=23,h=23,bg=self.color_codes[field_colors[4]]) # 1 field + draw.fill(x=71,y=85,w=23,h=23,bg=self.color_codes[field_colors[3]]) # 1 field + draw.fill(x=21,y=60,w=48,h=48,bg=self.color_codes[field_colors[2]]) # 2 field + draw.fill(x=21,y=110,w=73,h=73,bg=self.color_codes[field_colors[1]]) # 3 field + draw.fill(x=96,y=60,w=123,h=123,bg=self.color_codes[field_colors[0]]) # 5 field self.on_screen = now month = now[1] - 1 month = MONTH[month*3:(month+1)*3] - draw.string('{}. {} {}'.format(now[2], month, now[0]), - 0, 185, width=240) + draw.string('{} {} {}'.format(now[2], month, now[0]), + 0, 202, width=240) self.meter.update() self.notifier.update()