RFR: 8323511 Scrollbar Click jumps inconsistent amount of pixels [v2]

Marius Hanl mhanl at openjdk.org
Tue Mar 19 12:04:28 UTC 2024


On Sun, 17 Mar 2024 17:59:07 GMT, Johan Vos <jvos at openjdk.org> wrote:

>> As I was also involved in fixing this error, I can answer.
>> 
>> The `getAvailableCell()` method creates a new cell if none exists for the specified index (-1). 
>> The `getCell()` returns the `accumCell` in this case, which is completely sufficient for our case, because we only need the dimensions of the cell here. The cell itself will not be added to the scene-graph.
>
> That sounds right.
> @Maran23 does this answer your question?

Yes. But is it possible to scroll to an index that is negative? (<0) And what do we estimate then?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1326#discussion_r1530233902


More information about the openjfx-dev mailing list