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): 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(); }