Re: [w3c/uievents] Needs alternative WheelEvent.deltaMode, WheelEvent.delat(X|Y|Z) (#181)

> Don't you see a lot of wheel events in such case? 

No... both on edge and chrome not

> The value can be checked with deletaMode as you know.

Why the whole discussion then? Shouldnt something like
`  if (mode == 0) multiplier = 1;
  else if (mode == 1)
    multiplier = Number(
      window
        .getComputedStyle(document.body)
        .getPropertyValue("font-size")
        .match(/\d+/)[0]
    );
  else if (mode == 2) multiplier = window.innerHeight;
  else multiplier = 0;` 
solve any problems? I mean it shouldnt matter in what unit they are returned, as long as you know the unit...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/181#issuecomment-556925071

Received on Thursday, 21 November 2019 05:21:46 UTC