welcome 0.12: Fix swipe direction (#800)
parent
9f68a24315
commit
bdaa825b96
|
|
@ -118,7 +118,7 @@
|
||||||
{ "id": "welcome",
|
{ "id": "welcome",
|
||||||
"name": "Welcome",
|
"name": "Welcome",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"version":"0.11",
|
"version":"0.12",
|
||||||
"description": "Appears at first boot and explains how to use Bangle.js",
|
"description": "Appears at first boot and explains how to use Bangle.js",
|
||||||
"tags": "start,welcome",
|
"tags": "start,welcome",
|
||||||
"allow_emulator":true,
|
"allow_emulator":true,
|
||||||
|
|
@ -136,7 +136,7 @@
|
||||||
"name": "Customised Welcome",
|
"name": "Customised Welcome",
|
||||||
"shortName": "My Welcome",
|
"shortName": "My Welcome",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"version":"0.11",
|
"version":"0.12",
|
||||||
"description": "Appears at first boot and explains how to use Bangle.js. Like 'Welcome', but can be customised with a greeting",
|
"description": "Appears at first boot and explains how to use Bangle.js. Like 'Welcome', but can be customised with a greeting",
|
||||||
"tags": "start,welcome",
|
"tags": "start,welcome",
|
||||||
"custom":"custom.html",
|
"custom":"custom.html",
|
||||||
|
|
|
||||||
|
|
@ -13,3 +13,4 @@
|
||||||
BTN2 now goes to menu on release
|
BTN2 now goes to menu on release
|
||||||
0.10: Add birthday style
|
0.10: Add birthday style
|
||||||
0.11: Skip double buffering, use 240x240 size
|
0.11: Skip double buffering, use 240x240 size
|
||||||
|
0.12: Fix swipe direction (#800)
|
||||||
|
|
|
||||||
|
|
@ -285,7 +285,7 @@ function move(dir) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Bangle.on('swipe',move);
|
Bangle.on('swipe', dir => move(-dir));
|
||||||
setWatch(()=>move(1), BTN3, {repeat:true});
|
setWatch(()=>move(1), BTN3, {repeat:true});
|
||||||
setWatch(()=>{
|
setWatch(()=>{
|
||||||
// If we're on the last page
|
// If we're on the last page
|
||||||
|
|
|
||||||
|
|
@ -13,3 +13,4 @@
|
||||||
BTN2 now goes to menu on release
|
BTN2 now goes to menu on release
|
||||||
0.10: Tweaks to reduce memory usage
|
0.10: Tweaks to reduce memory usage
|
||||||
0.11: Fix initial screen fill colour
|
0.11: Fix initial screen fill colour
|
||||||
|
0.12: Fix swipe direction (#800)
|
||||||
|
|
|
||||||
|
|
@ -280,7 +280,7 @@ function move(dir) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Bangle.on('swipe',move);
|
Bangle.on('swipe', dir => move(-dir));
|
||||||
setWatch(()=>move(1), BTN3, {repeat:true});
|
setWatch(()=>move(1), BTN3, {repeat:true});
|
||||||
setWatch(()=>{
|
setWatch(()=>{
|
||||||
// If we're on the last page
|
// If we're on the last page
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue