welcome 0.12: Fix swipe direction (#800)
parent
9f68a24315
commit
bdaa825b96
|
|
@ -118,7 +118,7 @@
|
|||
{ "id": "welcome",
|
||||
"name": "Welcome",
|
||||
"icon": "app.png",
|
||||
"version":"0.11",
|
||||
"version":"0.12",
|
||||
"description": "Appears at first boot and explains how to use Bangle.js",
|
||||
"tags": "start,welcome",
|
||||
"allow_emulator":true,
|
||||
|
|
@ -136,7 +136,7 @@
|
|||
"name": "Customised Welcome",
|
||||
"shortName": "My Welcome",
|
||||
"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",
|
||||
"tags": "start,welcome",
|
||||
"custom":"custom.html",
|
||||
|
|
|
|||
|
|
@ -13,3 +13,4 @@
|
|||
BTN2 now goes to menu on release
|
||||
0.10: Add birthday style
|
||||
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(()=>{
|
||||
// If we're on the last page
|
||||
|
|
|
|||
|
|
@ -13,3 +13,4 @@
|
|||
BTN2 now goes to menu on release
|
||||
0.10: Tweaks to reduce memory usage
|
||||
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(()=>{
|
||||
// If we're on the last page
|
||||
|
|
|
|||
Loading…
Reference in New Issue