pull/2041/head
Hank 2022-07-12 12:53:02 +02:00
parent 0aa5d76cbf
commit 29e2387e4a
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ function bjsGetButtonState() {
} }
function initDragEvents() { function initDragEvents() {
Bangle.on("drag", e => { Bangle.on("drag", e => {
if (!drag) { // start dragging if (!drag) { // start dragging
drag = {x: e.x, y: e.y}; drag = {x: e.x, y: e.y};
} else if (!e.b) { // released } else if (!e.b) { // released