Skip to content

Commit

Permalink
Log mousewheel
Browse files Browse the repository at this point in the history
  • Loading branch information
bryphe committed Feb 5, 2019
1 parent ed83266 commit 5600aee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"homepage": "https://github.com/bryphe/revery#readme",
"esy": {
"build": [ "dune build --root . -j4" ],
"buildsInSource": "_build",
"install": [
"esy-installer Revery.install",
"esy-installer Revery_Core.install",
Expand Down
1 change: 1 addition & 0 deletions src/UI/Revery_UI.re
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ let start =
Revery_Core.Event.subscribe(
window.onMouseWheel,
m => {
print_endline ("Revery::onMouseWheel - " ++ string_of_float(m.deltaY));
let evt = Revery_Core.Events.InternalMouseWheel(m);
Mouse.dispatch(mouseCursor, evt, rootNode);
},
Expand Down

0 comments on commit 5600aee

Please sign in to comment.