mirror of https://github.com/espruino/BangleApps
Sliding Clock: reducing minutes text size to fit on screen
parent
999cd369b9
commit
9cd98fd1ab
|
@ -1,6 +1,6 @@
|
||||||
const DateFormatter = require("slidingtext.dtfmt.js");
|
const DateFormatter = require("slidingtext.dtfmt.js");
|
||||||
const numberToText = require("slidingtext.utils.en.js").numberToText;
|
const numberToText = require("slidingtext.utils.en.js").numberToText;
|
||||||
const dayOfWeek = require("slidingtext.utils.en.js").dayOfWeek;
|
const dayOfWeek = require("slidingtext.utils.en.js").dayOfWeekShort;
|
||||||
|
|
||||||
class EnglishDateFormatter extends DateFormatter {
|
class EnglishDateFormatter extends DateFormatter {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
@ -33,6 +33,7 @@ class EnglishDateFormatter extends DateFormatter {
|
||||||
scroll_in: ['up','left'],
|
scroll_in: ['up','left'],
|
||||||
},
|
},
|
||||||
medium: {
|
medium: {
|
||||||
|
size: 'msmall',
|
||||||
scroll_off: ['down'],
|
scroll_off: ['down'],
|
||||||
scroll_in: ['up'],
|
scroll_in: ['up'],
|
||||||
angle_to_horizontal: 90
|
angle_to_horizontal: 90
|
||||||
|
|
Loading…
Reference in New Issue