Skip to content

Commit 41e11c4

Browse files
committed
pebblepp 0.13: Minor fixes - don't allocate un-needed buffer
1 parent 7503736 commit 41e11c4

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

apps/pebblepp/ChangeLog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
Optional border around clockinfos (available from settings)
1414
0.11: Make the border on clockinfos the default
1515
Fix clockinfos when too long (previously just output '...')
16-
0.12: Use new clockbg to allow backgrounds to change when fast loading
16+
0.12: Use new clockbg to allow backgrounds to change when fast loading
17+
0.13: Minor fixes - don't allocate un-needed buffer

apps/pebblepp/app.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ loadThemeColors();
7171
// Load the clock infos
7272
let clockInfoW = 0|(w/2);
7373
let clockInfoH = 0|(h/2);
74-
let clockInfoG = Graphics.createArrayBuffer(26, 26, 2, {msb:true});
75-
clockInfoG.transparent = 3;
76-
clockInfoG.palette = new Uint16Array([g.theme.bg, g.theme.fg, g.toColor("#888"), g.toColor("#888")]);
7774
let clockInfoItems = require("clock_info").load();
7875
let clockInfoDraw = (itm, info, options) => {
7976
// itm: the item containing name/hasRange/etc

apps/pebblepp/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "pebblepp",
33
"name": "Pebble++ Clock",
44
"shortName": "Pebble++",
5-
"version": "0.12",
5+
"version": "0.13",
66
"description": "A Pebble style clock (based on the 'Pebble Clock' app) but with two configurable ClockInfo items at the top and custom backgrounds. Date/theme/borders be reconfigured using settings page.",
77
"icon": "app.png",
88
"screenshots": [{"url":"screenshot.png"},{"url":"screenshot2.png"}],

0 commit comments

Comments
 (0)