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:
waterson%netscape.com 2000-01-12 05:29:24 +00:00
Родитель 0cba827c69
Коммит 87c1254e42
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);