mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
E_showScroller_Q3: comment out prints to console
This commit is contained in:
parent
2db9f15ec2
commit
3ba1c56129
@ -73,7 +73,7 @@ Bangle.setUI({
|
||||
var i = YtoIdx(e.y);
|
||||
let yAbs = (e.y + rScroll - R.y);
|
||||
let yInElement = yAbs - i*options.h;
|
||||
print(" ",idxToY(i));
|
||||
//print(" ",idxToY(i));
|
||||
if (e.y>163 && idxToY(i)>163) { // 12px from bottom
|
||||
/* If the bottom-most item is only just showing and we
|
||||
tap on it, choose the one above instead */
|
||||
@ -81,7 +81,7 @@ Bangle.setUI({
|
||||
yInElement=options.h-1;
|
||||
}
|
||||
if ((menuScrollMin<0 || i>=0) && i<options.c){
|
||||
console.log("Press ",e.y,i,yInElement);
|
||||
//console.log("Press ",e.y,i,yInElement);
|
||||
options.select(i, {x:e.x, y:yInElement});
|
||||
}
|
||||
}
|
||||
@ -115,4 +115,4 @@ var rScroll = s.scroll&~1; // rendered menu scroll (we only shift by 2 because o
|
||||
s.draw(); // draw the full scroller
|
||||
g.flip(); // force an update now to make this snappier
|
||||
return s;
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user