Merge pull request #660 from flautrup/master

Updated font size, color and alignment
pull/664/head
Gordon Williams 2021-02-08 09:29:25 +00:00 committed by GitHub
commit 86ba30f629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 10 deletions

View File

@ -1638,7 +1638,7 @@
"name": "Round clock with seconds, minutes and date",
"shortName":"Round Clock",
"icon": "app.png",
"version":"0.03",
"version":"0.04",
"description": "Designed round clock with ticks for minutes and seconds and heart rate indication",
"tags": "clock",
"type": "clock",

View File

@ -1,3 +1,4 @@
0.01: First published version of app
0.02: Added support for locale and 12H clock
0.03: Added HR indication to clock
0.04: Update font size and alignment

View File

@ -23,31 +23,29 @@
// Ssettings
const settings = {
time: {
color: '#f0af00',
shadow: '#CF7500',
color: 0xD6ED17,
font: 'Vector',
size: 60,
middle: screen.middle - 30,
middle: screen.middle,
center: screen.center,
},
date: {
color: '#f0af00',
shadow: '#CF7500',
color: 0xD6ED17,
font: 'Vector',
size: 15,
middle: screen.height - 20, // at bottom of screen
middle: screen.height-17, // at bottom of screen
center: screen.center,
},
circle: {
colormin: '#eeeeee',
colorsec: '#bbbbbb',
colormin: 0x606060,
colorsec: 0x656565,
width: 10,
middle: screen.middle,
center: screen.center,
height: screen.height
},
hr: {
color: '#333333',
color: 0x333333,
size: 10,
x: screen.center,
y: screen.middle + 45