Browse Source

use render thread.

Dan Walmsley 5 years ago
parent
commit
2981cc470d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Windows/Avalonia.Win32/Win32Platform.cs

+ 1 - 1
src/Windows/Avalonia.Win32/Win32Platform.cs

@@ -88,7 +88,7 @@ namespace Avalonia.Win32
                 .Bind<IPlatformSettings>().ToConstant(s_instance)
                 .Bind<IPlatformThreadingInterface>().ToConstant(s_instance)
                 .Bind<IRenderLoop>().ToConstant(new RenderLoop())
-                .Bind<IRenderTimer>().ToConstant(new UiThreadRenderTimer(60))
+                .Bind<IRenderTimer>().ToConstant(new DefaultRenderTimer(60))
                 .Bind<ISystemDialogImpl>().ToSingleton<SystemDialogImpl>()
                 .Bind<IWindowingPlatform>().ToConstant(s_instance)
                 .Bind<PlatformHotkeyConfiguration>().ToSingleton<PlatformHotkeyConfiguration>()