summaryrefslogtreecommitdiff
path: root/wasp/apps
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-10-10 20:38:48 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-10-10 20:42:51 (GMT)
commit52de478682bd88dc80bff53d96b0d9132e3f1978 (patch)
tree83a7caeb822c7aee6b12aa7314eba43fd4f94a28 /wasp/apps
parenta5f69ffe2629f187cd2a05f21b855bda5d7c2022 (diff)
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 <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp/apps')
-rw-r--r--wasp/apps/fibonacci_clock.py14
1 files 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()