1
0
Fork 0

draguboard keyboard settings fix

Courtesy of @lauzonhomeschool
master
thyttan 2023-09-12 12:18:44 +02:00
parent b6ec2a4761
commit 0c5033a7c1
4 changed files with 4 additions and 3 deletions

View File

@ -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"

View File

@ -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.

View File

@ -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",

View File

@ -21,7 +21,7 @@
value: settings[key] == color,
onchange: () => {
if (color >= 0) {
settings[key] = color;
settings[key] = parseInt(color);
} else {
delete settings[key];
}