On Wed, 16 Dec 2020 12:55:49 GMT, Frederic Thevenet <ftheve...@openjdk.org> wrote:
>> In looking at the other instances where snap-to-pixel is done correctly for >> Insets, the above should use `snapSpace{X,Y}` rather than `snapSize{X,Y}` > > I agree that it is better to separate the scrollpane issue from the cache > rendering one. > > I've reverted my initial changes and applied the changes you proposed (using > snapSpaceX/Y as suggested in your latest comment). > I'll also add a test case soon. I was thinking, while I'm at it I might as well update the copyright notice for Region.java; should it be 2020 or 2021 (or left alone)? ------------- PR: https://git.openjdk.java.net/jfx/pull/308