@ -167,7 +167,7 @@ namespace Perspex
.Bind<IInputManager>().ToConstant(InputManager)
.Bind<IKeyboardNavigationHandler>().ToTransient<KeyboardNavigationHandler>()
.Bind<IStyler>().ToConstant(_styler)
.Bind<ILayoutManager>().ToTransient<LayoutManager>()
.Bind<ILayoutManager>().ToSingleton<LayoutManager>()
.Bind<IRenderQueueManager>().ToTransient<RenderQueueManager>();
}
@ -99,6 +99,8 @@ namespace Perspex.Layout
stopwatch.Stop();
_log.Information("Layout pass finised in {Time}", stopwatch.Elapsed);
_queued = false;
/// <inheritdoc/>
@ -585,7 +585,7 @@ namespace Perspex.Win32
lpfnWndProc = _wndProcDelegate,
hInstance = Marshal.GetHINSTANCE(GetType().Module),
hCursor = DefaultCursor,
hbrBackground = (IntPtr)5,
hbrBackground = IntPtr.Zero,
lpszClassName = _className,
};