diff --git a/apps/gbmusic/ChangeLog b/apps/gbmusic/ChangeLog index a400e0737..814e6d3ae 100644 --- a/apps/gbmusic/ChangeLog +++ b/apps/gbmusic/ChangeLog @@ -2,4 +2,4 @@ 0.02: Increase text brightness, improve controls, (try to) reduce memory usage 0.03: Only auto-start if active app is a clock, auto close after 1 hour of inactivity 0.04: Setting to disable touch controls, minor bugfix -0.05: Simplify touch controls setting, reduce fadeout flicker \ No newline at end of file +0.05: Remove touch controls setting, reduce fadeout flicker \ No newline at end of file diff --git a/apps/gbmusic/README.md b/apps/gbmusic/README.md index 9a272f27d..52a74499c 100644 --- a/apps/gbmusic/README.md +++ b/apps/gbmusic/README.md @@ -22,8 +22,6 @@ You can change these under `Settings`->`App/Widget Settings`->`Music Controls`. Automatically load the app when you play music and close when the music stops. (If the app opened automatically, it closes after music has been paused for 5 minutes.) -**Touch controls**: -Enable touch controls? ## Controls diff --git a/apps/gbmusic/app.js b/apps/gbmusic/app.js index d3be1b3f6..741c2b48b 100644 --- a/apps/gbmusic/app.js +++ b/apps/gbmusic/app.js @@ -13,10 +13,6 @@ let info = { }; const POUT = 300000; // auto close timeout when paused: 5 minutes (in ms) const IOUT = 3600000; // auto close timeout for inactivity: 1 hour (in ms) -// Touch controls? -let s = require("Storage").readJSON("gbmusic.json", 1) || {}; -const TCTL = ("touch" in s) ? !!s.touch : true; // previous versions used an int for this setting -delete s; /////////////////////// // Self-repeating timeouts @@ -355,7 +351,6 @@ function controlColor(ctrl) { return (ctrl in tCommand) ? "#ff0000" : "#008800"; } function drawControl(ctrl, x, y) { - if (!TCTL) {return;} g.setColor(controlColor(ctrl)); const s = 20; if (stat!==controlState) { @@ -537,7 +532,6 @@ function togglePlay() { sendCommand(stat==="play" ? "pause" : "play"); } function startTouchWatches() { - if (!TCTL) {return;} Bangle.on("touch", side => { if (!Bangle.isLCDOn()) {return;} // for <2v10 firmware switch(side) { diff --git a/apps/gbmusic/settings.js b/apps/gbmusic/settings.js index b8cdb002e..e81a2c320 100644 --- a/apps/gbmusic/settings.js +++ b/apps/gbmusic/settings.js @@ -9,7 +9,6 @@ // initialize with default settings... let s = { autoStart: true, - touch: true, }; // ...and overwrite them with any saved values // This way saved values are preserved if a new version adds more settings @@ -35,11 +34,6 @@ format: yesNo, onchange: save("autoStart"), }; - menu[translate("Touch controls")] = { - value: !!s.touch, - format: yesNo, - onchange: save("touch"), - }; E.showMenu(menu); });