mirror of
https://gitee.com/handyorg/HandyControl.git
synced 2024-11-30 10:57:51 +08:00
fix
This commit is contained in:
parent
c8fd795574
commit
ca344f5a71
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user