From 11d0ca56de6c040b1b2f8223dfda54ffbe6bf99a Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Thu, 14 May 2020 09:16:38 -0300 Subject: [PATCH] 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(); }