mirror of https://github.com/espruino/BangleApps
0.19: Remove 'jit' keyword as 'for(..of..)' is not supported (fix #2937)
parent
4061bd2f5e
commit
cd3b08e235
|
@ -23,3 +23,4 @@
|
||||||
0.16: Use firmware provided E.showScroller method
|
0.16: Use firmware provided E.showScroller method
|
||||||
0.17: fix fullscreen with oneClickExit
|
0.17: fix fullscreen with oneClickExit
|
||||||
0.18: Better performance
|
0.18: Better performance
|
||||||
|
0.19: Remove 'jit' keyword as 'for(..of..)' is not supported (fix #2937)
|
|
@ -56,7 +56,6 @@
|
||||||
|
|
||||||
let texted;
|
let texted;
|
||||||
let drawItem = function(itemI, r) {
|
let drawItem = function(itemI, r) {
|
||||||
"jit";
|
|
||||||
let x = whitespace;
|
let x = whitespace;
|
||||||
let i = itemI * appsN - 1;
|
let i = itemI * appsN - 1;
|
||||||
let selectedApp;
|
let selectedApp;
|
||||||
|
@ -145,21 +144,21 @@
|
||||||
},
|
},
|
||||||
btn:Bangle.showClock
|
btn:Bangle.showClock
|
||||||
};
|
};
|
||||||
|
|
||||||
//work both the fullscreen and the oneClickExit
|
//work both the fullscreen and the oneClickExit
|
||||||
if( settings.fullscreen && settings.oneClickExit)
|
if( settings.fullscreen && settings.oneClickExit)
|
||||||
{
|
{
|
||||||
idWatch=setWatch(function(e) {
|
idWatch=setWatch(function(e) {
|
||||||
Bangle.showClock();
|
Bangle.showClock();
|
||||||
}, BTN, {repeat:false, edge:'rising' });
|
}, BTN, {repeat:false, edge:'rising' });
|
||||||
|
|
||||||
}
|
}
|
||||||
else if( settings.oneClickExit )
|
else if( settings.oneClickExit )
|
||||||
{
|
{
|
||||||
options.back=Bangle.showClock;
|
options.back=Bangle.showClock;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
let scroller = E.showScroller(options);
|
let scroller = E.showScroller(options);
|
||||||
|
@ -174,7 +173,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
let swipeHandler = (h,_) => { if(settings.swipeExit && h==1) { Bangle.showClock(); } };
|
let swipeHandler = (h,_) => { if(settings.swipeExit && h==1) { Bangle.showClock(); } };
|
||||||
|
|
||||||
Bangle.on("swipe", swipeHandler)
|
Bangle.on("swipe", swipeHandler)
|
||||||
Bangle.on("drag", updateTimeout);
|
Bangle.on("drag", updateTimeout);
|
||||||
Bangle.on("touch", updateTimeout);
|
Bangle.on("touch", updateTimeout);
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "iconlaunch",
|
"id": "iconlaunch",
|
||||||
"name": "Icon Launcher",
|
"name": "Icon Launcher",
|
||||||
"shortName" : "Icon launcher",
|
"shortName" : "Icon launcher",
|
||||||
"version": "0.18",
|
"version": "0.19",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"description": "A launcher inspired by smartphones, with an icon-only scrollable menu.",
|
"description": "A launcher inspired by smartphones, with an icon-only scrollable menu.",
|
||||||
"tags": "tool,system,launcher",
|
"tags": "tool,system,launcher",
|
||||||
|
|
Loading…
Reference in New Issue