mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-13 21:44:46 +08:00
Fixed Edit Archetype BSRadius regional number formatting issue
This commit is contained in:
@@ -338,7 +338,7 @@ namespace CodeWalker.Project.Panels
|
||||
|
||||
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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user