bug #5093: removed redundant calls to nsWidget::Invalidate(), fixed in nsScrollbar.cpp instead.

This commit is contained in:
beard%netscape.com 1999-05-18 21:45:46 +00:00
parent e353d1ae50
commit a4c669efd1

View File

@ -1234,7 +1234,6 @@ NS_IMETHODIMP nsScrollingView::ScrollTo(nscoord aX, nscoord aY, PRUint32 aUpdate
PRUint32 newpos = NSIntPixelsToTwips(NSTwipsToIntPixels(aY, t2p), p2t);
scrollv->SetPosition(newpos);
widget->Invalidate(PR_FALSE);
dy = NSTwipsToIntPixels((oldpos - newpos), t2p);
@ -1263,7 +1262,6 @@ NS_IMETHODIMP nsScrollingView::ScrollTo(nscoord aX, nscoord aY, PRUint32 aUpdate
PRUint32 newpos = NSIntPixelsToTwips(NSTwipsToIntPixels(aX, t2p), p2t);
scrollh->SetPosition(newpos);
widget->Invalidate(PR_FALSE);
dx = NSTwipsToIntPixels((oldpos - newpos), t2p);