mirror of https://github.com/espruino/BangleApps
updated Pastel fonts
parent
e455c3616c
commit
f87e89ff25
File diff suppressed because one or more lines are too long
|
@ -22,14 +22,14 @@
|
||||||
storage.write(SETTINGS_FILE, settings)
|
storage.write(SETTINGS_FILE, settings)
|
||||||
}
|
}
|
||||||
|
|
||||||
var font_options = ["Lato","Architect","GochiHand","CabinSketch"];
|
var font_options = ["Lato","Architect","GochiHand","CabinSketch","Orbitron"];
|
||||||
|
|
||||||
E.showMenu({
|
E.showMenu({
|
||||||
'': { 'title': 'Pastel Clock' },
|
'': { 'title': 'Pastel Clock' },
|
||||||
'< Back': back,
|
'< Back': back,
|
||||||
'Font': {
|
'Font': {
|
||||||
value: 0 | font_options.indexOf(s.font),
|
value: 0 | font_options.indexOf(s.font),
|
||||||
min: 0, max: 3,
|
min: 0, max: 4,
|
||||||
format: v => font_options[v],
|
format: v => font_options[v],
|
||||||
onchange: v => {
|
onchange: v => {
|
||||||
s.font = font_options[v];
|
s.font = font_options[v];
|
||||||
|
|
Loading…
Reference in New Issue