Backed out yesterdays change as it broke framesets

This commit is contained in:
kipp%netscape.com 1999-04-08 23:18:02 +00:00
Родитель 9b3a7726e5
Коммит 2a747bd0c0
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1882,12 +1882,12 @@ NS_IMETHODIMP nsViewManager :: MoveViewTo(nsIView *aView, nscoord aX, nscoord aY
nscoord oldY;
aView->GetPosition(&oldX, &oldY);
aView->SetPosition(aX, aY);
// only do damage control if the view is visible
if ((aX != oldX) || (aY != oldY))
{
aView->SetPosition(aX, aY);
nsViewVisibility visibility;
aView->GetVisibility(visibility);
if (visibility != nsViewVisibility_kHide)