This commit is contained in:
Mahdi 2019-11-28 20:29:19 +03:30
parent c8fd795574
commit ca344f5a71
2 changed files with 2 additions and 6 deletions

View File

@ -20,7 +20,7 @@ namespace HandyControl.Media.Animation
public GeometryAnimation()
{
System.Threading.Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
}
public GeometryAnimation(string fromValue, string toValue) : this()

View File

@ -40,11 +40,7 @@ namespace HandyControl.Media.Animation
public GeometryAnimationUsingKeyFrames()
{
var currentCulture = System.Threading.Thread.CurrentThread.CurrentCulture.Parent.Name;
if (!currentCulture.Equals("en", StringComparison.OrdinalIgnoreCase))
{
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
}
System.Threading.Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
_areKeyTimesValid = true;
}