On Wed, 24 Jan 2024 21:34:52 GMT, Harshitha Onkar <[email protected]> wrote:

> The suggested fix adds one more repaint of the rectangle where the scroll 
> thumb is currently located. Or maybe not, and `getTrackBounds` returns the 
> new rectangle by the time it's called in `scrollByUnit`.

`getTrackingBounds` returns the whole scrolling area bounds, in my case it is  
java.awt.Rectangle[x=15,y=0,width=755,height=17]
each time `scrollByUnit `is called so it is repainting the whole scrolling area

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

PR Comment: https://git.openjdk.org/jdk/pull/17484#issuecomment-1926301912

Reply via email to