fix
This commit is contained in:
1 parent
c8fd795574
commit
ca344f5a71
2 files changed
+2
-6
No files matched your search
@@ -20,7 +20,7 @@ namespace HandyControl.Media.Animation
|
||||
|
||||
public GeometryAnimation()
|
||||
{
|
||||
|
||||
System.Threading.Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
|
||||
}
|
||||
|
||||
public GeometryAnimation(string fromValue, string toValue) : this()
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user