Browse Source

fix timespan in render demo.

pull/3945/head
Dan Walmsley 6 years ago
parent
commit
11d0ca56de
  1. 2
      samples/RenderDemo/Controls/LineBoundsDemoControl.cs

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