commit
2784c1b3b1
|
|
@ -1,3 +1,4 @@
|
||||||
0.01: App created w/ clockInfos, bold font, date and time.
|
0.01: App created w/ clockInfos, bold font, date and time.
|
||||||
0.02: Added text truncation for long ClockInfo strings.
|
0.02: Added text truncation for long ClockInfo strings.
|
||||||
0.03: Added small inline Clock Info next to date
|
0.03: Added small inline Clock Info next to date
|
||||||
|
0.04: Fix date not clearing
|
||||||
|
|
|
||||||
|
|
@ -209,7 +209,7 @@ let draw = function() {
|
||||||
g.setFont("Vector",16);
|
g.setFont("Vector",16);
|
||||||
g.setFontAlign(1,0); // align center bottom
|
g.setFontAlign(1,0); // align center bottom
|
||||||
// pad the date - this clears the background if the date were to change length
|
// pad the date - this clears the background if the date were to change length
|
||||||
var dateStr = require("locale").dow(new Date(), 1)+", " +new Date().getDate();
|
var dateStr = " "+require("locale").dow(new Date(), 1)+", " +new Date().getDate();
|
||||||
//print(g.stringHeight(dateStr));
|
//print(g.stringHeight(dateStr));
|
||||||
g.drawString(" "+dateStr+" ", g.getWidth()/2+6, Y+9, true /*clear background*/);
|
g.drawString(" "+dateStr+" ", g.getWidth()/2+6, Y+9, true /*clear background*/);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
"name": "Modern Clock",
|
"name": "Modern Clock",
|
||||||
"shortName":"Modern Clk",
|
"shortName":"Modern Clk",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
"version":"0.03",
|
"version":"0.04",
|
||||||
"description": "A modern, simple clock, with three ClockInfos and Fast Loading",
|
"description": "A modern, simple clock, with three ClockInfos and Fast Loading",
|
||||||
"type":"clock",
|
"type":"clock",
|
||||||
"tags": "clock,clkinfo",
|
"tags": "clock,clkinfo",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue