mirror of https://github.com/espruino/BangleApps
swscroll: forward the type of touch (short/long).
Bring in change from the firmware implementation forwarding the type of touch (short/long).pull/3609/head
parent
3d7c6db2af
commit
4771e0f556
|
@ -5,3 +5,4 @@
|
|||
0.05: Fix for the rebase in ver 0.04. Check boxes didn't behave but now they do.
|
||||
0.06: Minor code improvements
|
||||
0.07: Minor code improvements
|
||||
0.08: Bring in change from the firmware implementation forwarding the type of touch (short/long).
|
||||
|
|
|
@ -76,7 +76,7 @@ Bangle.setUI({
|
|||
if ((menuScrollMin<0 || i>=0) && i<options.c){
|
||||
let yAbs = (e.y + rScroll - R.y);
|
||||
let yInElement = yAbs - i*options.h;
|
||||
options.select(i, {x:e.x, y:yInElement});
|
||||
options.select(i, {x:e.x, y:yInElement, type:e.type});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "swscroll",
|
||||
"name": "Swipe menus",
|
||||
"version": "0.07",
|
||||
"version": "0.08",
|
||||
"description": "Replace built in E.showScroller to act on swipe instead of drag. Navigate menus in discrete steps instead of a continuous motion.",
|
||||
"readme": "README.md",
|
||||
"icon": "app.png",
|
||||
|
|
Loading…
Reference in New Issue