1
0
Fork 0

widhid: don't check clkinfo focus on drag

... because we've already disabled those handlers
master
Rob Pilling 2023-05-10 21:56:59 +01:00
parent 8a65bc9c7b
commit 051b417971
2 changed files with 0 additions and 4 deletions

View File

@ -19,8 +19,6 @@
} }
}); });
var onDrag = (function (e) { var onDrag = (function (e) {
if (Bangle.CLKINFO_FOCUS)
return;
if (e.b === 0) { if (e.b === 0) {
var wasDragging = dragging; var wasDragging = dragging;
dragging = false; dragging = false;

View File

@ -23,8 +23,6 @@
}) satisfies SwipeCallback; }) satisfies SwipeCallback;
const onDrag = (e => { const onDrag = (e => {
if((Bangle as BangleExt).CLKINFO_FOCUS) return;
if(e.b === 0){ if(e.b === 0){
// released // released
const wasDragging = dragging; const wasDragging = dragging;