widhid: formatting

pull/2734/head
Rob Pilling 2023-05-08 22:05:41 +01:00
parent 610f4d61a7
commit 4352cd0f29
1 changed files with 2 additions and 2 deletions

View File

@ -60,9 +60,9 @@
}
// had a drag in a single axis
/**/ if(dx > 40) { next(); onEvent(); waitForRelease = true; }
if(dx > 40){ next(); onEvent(); waitForRelease = true; }
else if(dx < -40){ prev(); onEvent(); waitForRelease = true; }
else if(dy > 30) { down(); onEvent(); setStart(e); }
else if(dy > 30){ down(); onEvent(); setStart(e); }
else if(dy < -30){ up(); onEvent(); setStart(e); }
}) satisfies DragCallback;