mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-26 00:43:00 +08:00
Fixed Edit Archetype BSRadius regional number formatting issue
This commit is contained in:
parent
3bfd6ac9f8
commit
5760d56134
@ -338,7 +338,7 @@ namespace CodeWalker.Project.Panels
|
|||||||
|
|
||||||
private void BSRadiusTextBox_TextChanged(object sender, EventArgs e)
|
private void BSRadiusTextBox_TextChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (float.TryParse(BSRadiusTextBox.Text, out float f))
|
if (FloatUtil.TryParse(BSRadiusTextBox.Text, out float f))
|
||||||
{
|
{
|
||||||
if (!MathUtil.NearEqual(CurrentArchetype._BaseArchetypeDef.bsRadius, f))
|
if (!MathUtil.NearEqual(CurrentArchetype._BaseArchetypeDef.bsRadius, f))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user