mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-132514: merge dialog - repaint scrollbar even if thumb position was not changed
This commit is contained in:
@@ -275,14 +275,8 @@ public class ButtonlessScrollBarUI extends BasicScrollBarUI {
|
||||
super.setThumbBounds(x, y, width, height);
|
||||
}
|
||||
else {
|
||||
/* If the thumbs bounds haven't changed, we're done.
|
||||
*/
|
||||
if ((thumbRect.x == x) &&
|
||||
(thumbRect.y == y) &&
|
||||
(thumbRect.width == width) &&
|
||||
(thumbRect.height == height)) {
|
||||
return;
|
||||
}
|
||||
// We want to repaint whole scrollbar even if thumb wasn't moved (on small scroll of a big panel)
|
||||
// Even if scrollbar wasn't changed itself, myRepaintCallback could need repaint
|
||||
|
||||
/* Update thumbRect, and repaint the union of x,y,w,h and
|
||||
* the old thumbRect.
|
||||
|
||||
Reference in New Issue
Block a user