зеркало из https://github.com/mozilla/gecko-dev.git
Don't force the sliderframe to 'eagerly' repaint. Allow it to be redrawn with the next Compositor pass. r=hyatt
This commit is contained in:
Родитель
0cba827c69
Коммит
87c1254e42
|
@ -657,7 +657,7 @@ nsSliderFrame::CurrentPositionChanged(nsIPresContext* aPresContext)
|
|||
changeRect.UnionRect(thumbRect, newThumbRect);
|
||||
|
||||
// redraw just the change
|
||||
Invalidate(aPresContext, changeRect, PR_TRUE);
|
||||
Invalidate(aPresContext, changeRect, PR_FALSE);
|
||||
|
||||
if (mScrollbarListener)
|
||||
mScrollbarListener->PositionChanged(aPresContext, mCurPos, curpos);
|
||||
|
|
Загрузка…
Ссылка в новой задаче