diff --git a/apps/dragboard/ChangeLog b/apps/dragboard/ChangeLog index d147a623b..68cd82cfa 100644 --- a/apps/dragboard/ChangeLog +++ b/apps/dragboard/ChangeLog @@ -7,3 +7,4 @@ 0.07: Settings for display colors 0.08: 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.09: Fix colors settings, where color was stored as string instead of the expected int. diff --git a/apps/dragboard/metadata.json b/apps/dragboard/metadata.json index 5c52d9389..090c37a01 100644 --- a/apps/dragboard/metadata.json +++ b/apps/dragboard/metadata.json @@ -1,6 +1,6 @@ { "id": "dragboard", "name": "Dragboard", - "version":"0.08", + "version":"0.09", "description": "A library for text input via swiping keyboard", "icon": "app.png", "type":"textinput", diff --git a/apps/dragboard/settings.js b/apps/dragboard/settings.js index a53914869..59a13c443 100644 --- a/apps/dragboard/settings.js +++ b/apps/dragboard/settings.js @@ -21,7 +21,7 @@ value: settings[key] == color, onchange: () => { if (color >= 0) { - settings[key] = color; + settings[key] = parseInt(color); } else { delete settings[key]; }