private void UpdateZoomAreaAndParent()
{
bool flag = Mathf.Approximately(this.m_ZoomArea.scale.y, this.m_defaultScale);
this.ConfigureZoomArea();
this.m_defaultScale = this.DefaultScaleForTargetInView(this.targetSize, this.viewInWindow.size);
if (flag)
{
this.m_ZoomArea.SetTransform(Vector2.zero, (Vector2) (Vector2.one * this.m_defaultScale));
this.EnforceZoomAreaConstraints();
}
this.CopyDimensionsToParentView();
this.m_LastWindowPixelSize = (Vector2) (base.position.size * EditorGUIUtility.pixelsPerPoint);
EditorApplication.SetSceneRepaintDirty();
}