Browse Source

Re-enable animations in TestApplication.

pull/58/head
Steven Kirk 11 years ago
parent
commit
fb0835906a
  1. 28
      TestApplication/Program.cs

28
TestApplication/Program.cs

@ -569,20 +569,20 @@ namespace TestApplication
} }
}; };
//var start = Animate.Stopwatch.Elapsed; var start = Animate.Stopwatch.Elapsed;
//var degrees = Animate.Timer var degrees = Animate.Timer
// .Select(x => .Select(x =>
// { {
// var elapsed = (x - start).TotalSeconds; var elapsed = (x - start).TotalSeconds;
// var cycles = elapsed / 4; var cycles = elapsed / 4;
// var progress = cycles % 1; var progress = cycles % 1;
// return 360.0 * progress; return 360.0 * progress;
// }); });
//border1.RenderTransform.Bind( border1.RenderTransform.Bind(
// RotateTransform.AngleProperty, RotateTransform.AngleProperty,
// degrees, degrees,
// BindingPriority.Animation); BindingPriority.Animation);
return result; return result;
} }

Loading…
Cancel
Save