Browse Source

Actually return visual root from IVisual.VisualRoot.

pull/472/head
Steven Kirk 11 years ago
parent
commit
ac0a78293f
  1. 2
      src/Perspex.SceneGraph/Visual.cs

2
src/Perspex.SceneGraph/Visual.cs

@ -231,7 +231,7 @@ namespace Perspex
/// <summary>
/// Gets the root of the visual tree, if the control is attached to a visual tree.
/// </summary>
IRenderRoot IVisual.VisualRoot { get; }
IRenderRoot IVisual.VisualRoot => VisualRoot;
/// <summary>
/// Invalidates the visual and queues a repaint.

Loading…
Cancel
Save