RFR: 8276313: ScrollPane scroll delta incorrectly depends on content height [v3]
Johan Vos
jvos at openjdk.java.net
Mon Dec 6 08:09:18 UTC 2021
On Thu, 2 Dec 2021 22:49:45 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
>> This PR fixes an issue where the scroll delta of ScrollPane incorrectly depends on the size of its content.
>> This leads to extremely slow scrolling when the content is only slightly larger than the ScrollPane.
>
> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
>
> Changes per review
This looks good to me. This new approach is based on the delta between the total height and the visible height, instead of only the total height.
It might be good to capture this idea somehow in the commit message, but since it is clear from the code, I am totally ok with not changing the commit message.
-------------
Marked as reviewed by jvos (Reviewer).
PR: https://git.openjdk.java.net/jfx/pull/660
More information about the openjfx-dev
mailing list