mirror of https://github.com/espruino/BangleApps
bug fix
parent
c3f3576200
commit
7f7ebd1039
|
@ -161,6 +161,9 @@ function updateScreen() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the hardware version is Bangle.js 2, set up the drag handling and button watch
|
// If the hardware version is Bangle.js 2, set up the drag handling and button watch
|
||||||
|
|
||||||
|
let drag;
|
||||||
|
|
||||||
if (BANGLEJS2) {
|
if (BANGLEJS2) {
|
||||||
// Set up drag handling
|
// Set up drag handling
|
||||||
Bangle.on("drag", (e) => {
|
Bangle.on("drag", (e) => {
|
||||||
|
|
Loading…
Reference in New Issue