fix format
This commit is contained in:
parent
208d43d109
commit
580136baf3
1 changed files with 4 additions and 4 deletions
|
@ -307,11 +307,11 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
|
|||
|
||||
if (text == "")
|
||||
{
|
||||
var emptyWidth = paint.MeasureText(" ", ref bounds);
|
||||
paint.MeasureText(" ", ref bounds);
|
||||
}
|
||||
else
|
||||
{
|
||||
var width = paint.MeasureText(text, ref bounds);
|
||||
paint.MeasureText(text, ref bounds);
|
||||
}
|
||||
|
||||
return bounds;
|
||||
|
@ -323,11 +323,11 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
|
|||
|
||||
if (text == "")
|
||||
{
|
||||
var emptyWidth = paint.MeasureText(" ", ref bounds);
|
||||
paint.MeasureText(" ", ref bounds);
|
||||
}
|
||||
else
|
||||
{
|
||||
var width = paint.MeasureText(text, ref bounds);
|
||||
paint.MeasureText(text, ref bounds);
|
||||
}
|
||||
|
||||
return bounds;
|
||||
|
|
Loading…
Add table
Reference in a new issue