widhid: don't check clkinfo focus on drag

... because we've already disabled those handlers
pull/2743/head
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) {
if (Bangle.CLKINFO_FOCUS)
return;
if (e.b === 0) {
var wasDragging = dragging;
dragging = false;

View File

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