We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb9c417 commit c6b1c0cCopy full SHA for c6b1c0c
apps/msgtwscr/boot.js
@@ -2,7 +2,7 @@
2
// twistThreshold How much acceleration to register a twist of the watch strap? Can be negative for opposite direction. default = 800
3
// twistMaxY Maximum acceleration in Y to trigger a twist (low Y means watch is facing the right way up). default = -800
4
// twistTimeout How little time (in ms) must a twist take from low->high acceleration? default = 1000
5
- function onTwistEmitDrag() {
+ let onTwistEmitDrag = ()=>{
6
Bangle.setOptions({twistThreshold:2500, twistMaxY:-800, twistTimeout:400});
7
let isTwistDragging = false;
8
let twistHandler = ()=>{
0 commit comments