mirror of https://github.com/espruino/BangleApps
Improvement: Close launcher when lcd turn off
parent
28c8437cce
commit
323b2dc3b4
|
@ -1013,7 +1013,7 @@
|
||||||
"name": "Touch Launcher",
|
"name": "Touch Launcher",
|
||||||
"shortName":"Menu",
|
"shortName":"Menu",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"version":"0.02",
|
"version":"0.03",
|
||||||
"description": "Touch enable left to right launcher.",
|
"description": "Touch enable left to right launcher.",
|
||||||
"tags": "tool,system,launcher",
|
"tags": "tool,system,launcher",
|
||||||
"type":"launch",
|
"type":"launch",
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
0.02: Add swipe support and doucle tap to run application
|
0.02: Add swipe support and doucle tap to run application
|
||||||
|
0.03: Close launcher when lcd turn off
|
|
@ -127,4 +127,8 @@ Bangle.on('touch', function(button){
|
||||||
Bangle.on('swipe', dir => {
|
Bangle.on('swipe', dir => {
|
||||||
if(dir == 1) prev();
|
if(dir == 1) prev();
|
||||||
else next();
|
else next();
|
||||||
|
});
|
||||||
|
|
||||||
|
Bangle.on('lcdPower', function(on) {
|
||||||
|
if(!on) return load();
|
||||||
});
|
});
|
Loading…
Reference in New Issue