[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Scroll Event Delta Values
From:       Dirk Lemmermann <dlemmermann () gmail ! com>
Date:       2017-06-22 13:22:28
Message-ID: 7B6F52C7-51BD-4EFD-8828-37F14680A2FB () gmail ! com
[Download RAW message or body]

Hi,

I noticed in my application that the delta values of the ScrollEvent seem to be \
incorrect at the end of the scroll event sequence. Values should first increase and \
then decrease: smooth-in / smooth-out style. But when I print out the values I \
noticed that at the end I receive a few non-linear values:

   9.000091552734375
   8.000030517578125
   7.0001220703125
   6.00006103515625
   8.000030517578125
   10.0
   10.0
   9.000091552734375
   9.000091552734375
   9.000091552734375
   8.000030517578125
   7.0001220703125
   7.0001220703125
   6.00006103515625
   6.00006103515625
   6.00006103515625
   5.0
   5.0
   5.0
   16.00006103515625    <———— here, too big
   13.000030517578125  <———— here, too big
   13.000030517578125  <———— here, too big

Question: is this the intended way? I am running on a Mac.

A video showing the result can be seen here: https://youtu.be/KOEQatiCMns \
<https://youtu.be/KOEQatiCMns>

The problem with these values is that it results in „stuttering" of the timeline \
control of my app. 

—Dirk


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic