Browse Source

Remove IsVisible changes from Window/Popup.

These were from a previous attempt to do what #935 does.
scenegraph-after-breakage
Steven Kirk 9 years ago
parent
commit
b7c83e77dd
  1. 1
      src/Avalonia.Controls/Primitives/Popup.cs
  2. 3
      src/Avalonia.Controls/Window.cs

1
src/Avalonia.Controls/Primitives/Popup.cs

@ -205,7 +205,6 @@ namespace Avalonia.Controls.Primitives
}
_popupRoot.Position = GetPosition();
IsVisible = true;
if (_topLevel == null && PlacementTarget != null)
{

3
src/Avalonia.Controls/Window.cs

@ -242,8 +242,6 @@ namespace Avalonia.Controls
{
PlatformImpl.Show();
}
IsVisible = true;
}
/// <summary>
@ -293,7 +291,6 @@ namespace Avalonia.Controls
result.SetResult((TResult)_dialogResult);
});
IsVisible = true;
return result.Task;
}
}

Loading…
Cancel
Save