Browse Source

fix timespan in render demo.

Dan Walmsley 5 years ago
parent
commit
11d0ca56de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      samples/RenderDemo/Controls/LineBoundsDemoControl.cs

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