From ac0a78293fc8e55a2cbbeb5e7d4037e8e1c3767f Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Wed, 9 Mar 2016 20:36:32 +0100 Subject: [PATCH] Actually return visual root from IVisual.VisualRoot. --- src/Perspex.SceneGraph/Visual.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Perspex.SceneGraph/Visual.cs b/src/Perspex.SceneGraph/Visual.cs index 63b7bf14f1..d5570711dc 100644 --- a/src/Perspex.SceneGraph/Visual.cs +++ b/src/Perspex.SceneGraph/Visual.cs @@ -231,7 +231,7 @@ namespace Perspex /// /// Gets the root of the visual tree, if the control is attached to a visual tree. /// - IRenderRoot IVisual.VisualRoot { get; } + IRenderRoot IVisual.VisualRoot => VisualRoot; /// /// Invalidates the visual and queues a repaint.