Browse Source

update avalonia

pull/1977/head
Dan Walmsley 8 years ago
parent
commit
ec271964df
  1. 2
      src/Avalonia.Native/Avalonia.Native.csproj
  2. 4
      src/Avalonia.Native/AvaloniaNativePlatform.cs

2
src/Avalonia.Native/Avalonia.Native.csproj

@ -9,7 +9,7 @@
<ItemGroup>
<PackageReference Include="SharpGenTools.Sdk" Version="1.1.2" PrivateAssets="all" />
<PackageReference Include="SharpGen.Runtime.Com" Version="1.1.0" />
<PackageReference Include="Avalonia" Version="0.6.2-build6191-beta" />
<PackageReference Include="Avalonia" Version="0.6.2-build6248-beta" />
<SharpGenMapping Include="Mappings.xml" />
</ItemGroup>
</Project>

4
src/Avalonia.Native/AvaloniaNativePlatform.cs

@ -62,7 +62,6 @@ namespace Avalonia.Native
configure?.Invoke(opts);
_factory.Initialize();
AvaloniaLocator.CurrentMutable
.Bind<IStandardCursorFactory>().ToTransient<CursorFactoryStub>()
.Bind<IPlatformIconLoader>().ToSingleton<IconLoader>()
@ -73,7 +72,8 @@ namespace Avalonia.Native
.Bind<IWindowingPlatform>().ToConstant(this)
.Bind<ISystemDialogImpl>().ToSingleton<SystemDialogImpl>()
.Bind<IClipboard>().ToSingleton<ClipboardImpl>()
.Bind<IRenderLoop>().ToConstant(new DefaultRenderLoop(60))
.Bind<IRenderLoop>().ToConstant(new RenderLoop())
.Bind<IRenderTimer>().ToConstant(new DefaultRenderTimer(60))
.Bind<IPlatformThreadingInterface>().ToConstant(new PlatformThreadingInterface(_factory.CreatePlatformThreadingInterface()));
}

Loading…
Cancel
Save