RFR: 8206253: No/Wrong scroll events from touch input in window mode [v2]

Johan Vos jvos at openjdk.java.net
Wed Mar 10 12:23:09 UTC 2021


On Tue, 9 Mar 2021 18:48:49 GMT, Jose Pereda <jpereda at openjdk.org> wrote:

>> Yes, that makes sense. 
>> 
>> We could refactor the three `sendScrollXXXEvent` methods to something like:
>> 
>> sendScrollXXXEvent(double xAbs, double yAbs, int touchCount)
>> or to:
>> 
>> sendScrollXXXEvent(double x, double y, double xAbs, double yAbs, int touchCount)
>> 
>> Any preference?
>
> For now, I've done the first approach, given that there is no conflict with the `centerX, centerY` variables.

I am ok with that. With this rename, the conflict is resolved.

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

PR: https://git.openjdk.java.net/jfx/pull/420


More information about the openjfx-dev mailing list