Skip to content

Commit

Permalink
Use more sane constants
Browse files Browse the repository at this point in the history
Should be made user configurable once everything stabilizes and
everything is figured out on the sdl front, but this makes scrolling
less ridiculously fast with wayland event density/scaling
  • Loading branch information
szbergeron committed Dec 13, 2019
1 parent 0e4be32 commit 871ed26
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Core/Window.re
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ let render = (w: t) => {
let _handleEvent = (sdlEvent: Sdl2.Event.t, v: t) => {
switch (sdlEvent) {
| Sdl2.Event.MouseWheel({deltaX, deltaY, _}) =>
log("%%% Mousewheel");
let wheelEvent: Events.mouseWheelEvent = {
deltaX: float_of_int(deltaX),
deltaY: float_of_int(deltaY),
Expand Down

0 comments on commit 871ed26

Please sign in to comment.