mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-16 07:30:32 +00:00
Allow user to enter in commas as well as periods
Allow users to enter in commas in place of decimal points
This commit is contained in:
parent
4c3f09644a
commit
e92023e2b0
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ namespace Ryujinx.Ui.Windows
|
||||||
_directoryChanged = false;
|
_directoryChanged = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!float.TryParse(_resScaleText.Buffer.Text, out float resScaleCustom) || resScaleCustom <= 0.0f)
|
if (!float.TryParse(_resScaleText.Buffer.Text.Replace(",","."), out float resScaleCustom) || resScaleCustom <= 0.0f)
|
||||||
{
|
{
|
||||||
resScaleCustom = 1.0f;
|
resScaleCustom = 1.0f;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue