Update CanvasAttached for new factory scheme

This commit is contained in:
Bret Johnson 2020-09-28 01:12:35 -04:00
Родитель 172ba22071
Коммит a618fd1c1d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -4,7 +4,7 @@ namespace System.StandardUI.Controls
{
public static class CanvasAttachedExtensions
{
private static Lazy<ICanvasAttached> LazyCanvasAttached = new Lazy<ICanvasAttached>(() => StandardUIEnvironment.Instance.UIElementFactory.CanvasAttached);
private static Lazy<ICanvasAttached> LazyCanvasAttached = new Lazy<ICanvasAttached>(() => StandardUIEnvironment.Instance.Factory.CanvasAttached);
public static ICanvasAttached CanvasAttached => LazyCanvasAttached.Value;