citizenfx/AnimKit

Incorrect saving of floating point numbers

Hancapo opened this issue · 1 comments

System:
Windows 11 Pro x64
Region: es-CL

AnimKit.UI version used: v1.0.3

I found a bug with the decimal numbers when I try to add a Used animation to a Clip in the Clips tab, the numbers show correctly the first time, but if I go to another tab and go back to the Clip tab the numbers are broken.

Image from Gyazo

I fixed this entirely by editing App.xaml.cs adding the following line of code within App_startup method

Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

Thanks for this report. I will take a look on the described issue soon.