зеркало из https://github.com/mozilla/gecko-dev.git
Backed out yesterdays change as it broke framesets
This commit is contained in:
Родитель
9b3a7726e5
Коммит
2a747bd0c0
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче