* UITextBox: 修改了描述错别字

This commit is contained in:
Sunny 2022-08-01 15:33:00 +08:00
parent cc8dc64b0a
commit 8211491bb9
2 changed files with 3 additions and 3 deletions

View File

@ -666,7 +666,7 @@ namespace Sunny.UI
{
base.OnLeave(e);
//如果为整,为空时自动为0
//如果为整,为空时自动为0
if (_uiEditType == UITextBox.UIEditType.Integer)
{
if (Text == "" && CanEmpty) return;

View File

@ -738,7 +738,7 @@ namespace Sunny.UI
}
[DefaultValue(0)]
[Description("整返回值"), Category("SunnyUI")]
[Description("整返回值"), Category("SunnyUI")]
public int IntValue
{
get => edit.IntValue;
@ -763,7 +763,7 @@ namespace Sunny.UI
}
[DefaultValue(false)]
[Description("整或浮点输入时,是否可空显示"), Category("SunnyUI")]
[Description("整或浮点输入时,是否可空显示"), Category("SunnyUI")]
public bool CanEmpty
{
get => edit.CanEmpty;