Skip to content

Commit

Permalink
kineticscroll: forward the type of touch (short/long).
Browse files Browse the repository at this point in the history
Bring in change from the firmware implementation forwarding the type of touch (short/long).
  • Loading branch information
thyttan committed Oct 11, 2024
1 parent 4771e0f commit 7b1326a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions apps/kineticscroll/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
0.02: Minor code improvements
0.03: Better scrolling behaviour
0.04: Fix incorrect appRect handling (missing back buttons and doubled menu titles)
0.05: Bring in change from the firmware implementation forwarding the type of touch (short/long).
2 changes: 1 addition & 1 deletion apps/kineticscroll/boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
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});
}
};

Expand Down
6 changes: 3 additions & 3 deletions apps/kineticscroll/boot.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions apps/kineticscroll/metadata.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ "id": "kineticscroll",
"name": "Kinetic Scroll",
"shortName":"Kinetic Scroll",
"version": "0.04",
"version": "0.05",
"description": "Replacement for the system scroller with kinetic scrolling.",
"icon": "app.png",
"type": "bootloader",
"tags": "system",
"supports" : ["BANGLEJS2"],
"supports" : ["BANGLEJS2"],
"readme": "README.md",
"storage": [
{"name":"kineticscroll.boot.js","url":"boot.min.js"}
Expand Down

0 comments on commit 7b1326a

Please sign in to comment.