From 11d0ca56de6c040b1b2f8223dfda54ffbe6bf99a Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Thu, 14 May 2020 09:16:38 -0300 Subject: [PATCH 1/2] fix timespan in render demo. --- samples/RenderDemo/Controls/LineBoundsDemoControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/RenderDemo/Controls/LineBoundsDemoControl.cs b/samples/RenderDemo/Controls/LineBoundsDemoControl.cs index 0e0b3d6142..cc847a594d 100644 --- a/samples/RenderDemo/Controls/LineBoundsDemoControl.cs +++ b/samples/RenderDemo/Controls/LineBoundsDemoControl.cs @@ -17,7 +17,7 @@ namespace RenderDemo.Controls public LineBoundsDemoControl() { var timer = new DispatcherTimer(); - timer.Interval = TimeSpan.FromSeconds(1 / 60); + timer.Interval = TimeSpan.FromSeconds(1 / 60.0); timer.Tick += (sender, e) => Angle += Math.PI / 360; timer.Start(); } From 92e63f31c8e9a8f24be968a63a72b89ca420a438 Mon Sep 17 00:00:00 2001 From: danwalmsley Date: Thu, 14 May 2020 13:21:37 -0300 Subject: [PATCH 2/2] Update build.md --- Documentation/build.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/build.md b/Documentation/build.md index 56b028206d..8c2ef57b54 100644 --- a/Documentation/build.md +++ b/Documentation/build.md @@ -36,7 +36,7 @@ Avalonia requires [CastXML](https://github.com/CastXML/CastXML) for XML processi On macOS: ``` -brew install castxml +brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/8a004a91a7fcd3f6620d5b01b6541ff0a640ffba/Formula/castxml.rb ``` On Debian based Linux (Debian, Ubuntu, Mint, etc):