RFR: 8303038: Glass gtk3 sends scroll events with delta(x, y) = 0 [v4]

Thiago Milczarek Sayao tsayao at openjdk.org
Sat May 6 20:38:14 UTC 2023


On Wed, 1 Mar 2023 16:11:28 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Will double check it, but I think I spaced out.
>
> dx = (dx != 0) ? -dx : 0;
> 
> also, is jdouble a floating point type?  if so, would that work correctly if dx/dy are very small?

It's a floating point type.

Output is:

Delta: -0,000000, -0,058579
Delta: -0,000000, 0,029289

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1044#discussion_r1186743429


More information about the openjfx-dev mailing list