Browse Source

Merge branch 'master' into update/items-repeater

pull/3937/head
danwalmsley 6 years ago
committed by GitHub
parent
commit
e07473bb03
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Documentation/build.md
  2. 2
      samples/RenderDemo/Controls/LineBoundsDemoControl.cs

2
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):

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

Loading…
Cancel
Save