1
Vote

SurfaceAnimateUtility.ThrowSVI with default NaN center

description

An SVI initialized and displaying on the screen. On throw SVI without moving first:
 
System.ArgumentException: 'NaN,NaN' is not a valid value for property 'From'. at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue,
OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value) at System.Windows.Media.Animation.PointAnimation..ctor(Point fromValue, Point toValue, Duration
duration) at Blake.NUI.WPF.Utility.AnimateUtility.AnimateElementPoint(DependencyObject element, DependencyProperty property, Point targetValue, Double fromTime, Double toTime, IEasingFunction ease) at Blake.NUI.WPF.SurfaceToolkit.Utility.SurfaceAnimateUtility.ThrowSVI(ScatterViewItem
svi, Point targetPoint, Double targetOrientation, Double fromTime, Double toTime, IEasingFunction ease) at Waterloo.Main.MainWindow.DoubleTap(Object sender, EventArgs e) in E:\My Projects\EVA\Showcase\Waterloo\Waterloo.MultiTouch\MainWindow.xaml.cs:line
220

comments