forked from FOSS/BangleApps
parent
b6ec2a4761
commit
0c5033a7c1
|
@ -1,3 +1,4 @@
|
|||
0.01: New App based on dragboard, but with a U shaped drag area
|
||||
0.02: Catch and discard swipe events on fw2v19 and up (as well as some cutting
|
||||
edge 2v18 ones), allowing compatability with the Back Swipe app.
|
||||
0.03: Fix "Uncaught Error: Unhandled promise rejection: ReferenceError: "dragHandlerDB" is not defined"
|
||||
|
|
|
@ -148,7 +148,7 @@ exports.input = function(options) {
|
|||
g.clearRect(Bangle.appRect);
|
||||
resolve(text);
|
||||
},
|
||||
drag: dragHandlerDB
|
||||
drag: dragHandlerUB
|
||||
});
|
||||
Bangle.prependListener&&Bangle.prependListener('swipe', catchSwipe); // Intercept swipes on fw2v19 and later. Should not break on older firmwares.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ "id": "draguboard",
|
||||
"name": "DragUboard",
|
||||
"version":"0.02",
|
||||
"version":"0.03",
|
||||
"description": "A library for text input via swiping U-shaped keyboard.",
|
||||
"icon": "app.png",
|
||||
"type":"textinput",
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
value: settings[key] == color,
|
||||
onchange: () => {
|
||||
if (color >= 0) {
|
||||
settings[key] = color;
|
||||
settings[key] = parseInt(color);
|
||||
} else {
|
||||
delete settings[key];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue