Skip to content

Commit 3ba1c56

Browse files
committed
E_showScroller_Q3: comment out prints to console
1 parent 2db9f15 commit 3ba1c56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/js/banglejs/E_showScroller_Q3.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ Bangle.setUI({
7373
var i = YtoIdx(e.y);
7474
let yAbs = (e.y + rScroll - R.y);
7575
let yInElement = yAbs - i*options.h;
76-
print(" ",idxToY(i));
76+
//print(" ",idxToY(i));
7777
if (e.y>163 && idxToY(i)>163) { // 12px from bottom
7878
/* If the bottom-most item is only just showing and we
7979
tap on it, choose the one above instead */
8080
i--;
8181
yInElement=options.h-1;
8282
}
8383
if ((menuScrollMin<0 || i>=0) && i<options.c){
84-
console.log("Press ",e.y,i,yInElement);
84+
//console.log("Press ",e.y,i,yInElement);
8585
options.select(i, {x:e.x, y:yInElement});
8686
}
8787
}
@@ -115,4 +115,4 @@ var rScroll = s.scroll&~1; // rendered menu scroll (we only shift by 2 because o
115115
s.draw(); // draw the full scroller
116116
g.flip(); // force an update now to make this snappier
117117
return s;
118-
});
118+
});

0 commit comments

Comments
 (0)