UTKProperty 버그 수정. Validation 추가 해야 함
This commit is contained in:
@@ -140,8 +140,7 @@ namespace UVC.UIToolkit
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>읽기 전용</summary>
|
||||
[UxmlAttribute("is-readonly")]
|
||||
/// <summary>읽기 전용</summary>
|
||||
public new bool isReadOnly
|
||||
{
|
||||
get => base.isReadOnly;
|
||||
|
||||
@@ -151,8 +151,8 @@ namespace UVC.UIToolkit
|
||||
EnableInClassList("utk-float-field--disabled", !value);
|
||||
}
|
||||
}
|
||||
|
||||
[UxmlAttribute("is-readonly")]
|
||||
|
||||
/// <summary>읽기 전용</summary>
|
||||
public new bool isReadOnly
|
||||
{
|
||||
get => base.isReadOnly;
|
||||
|
||||
@@ -161,7 +161,6 @@ namespace UVC.UIToolkit
|
||||
}
|
||||
|
||||
/// <summary>읽기 전용</summary>
|
||||
[UxmlAttribute("is-readonly")]
|
||||
public new bool isReadOnly
|
||||
{
|
||||
get => base.isReadOnly;
|
||||
|
||||
@@ -151,7 +151,9 @@ namespace UVC.UIToolkit
|
||||
}
|
||||
}
|
||||
|
||||
[UxmlAttribute("is-readonly")]
|
||||
/// <summary>
|
||||
/// 읽기 전용
|
||||
/// </summary>
|
||||
public new bool isReadOnly
|
||||
{
|
||||
get => base.isReadOnly;
|
||||
|
||||
@@ -137,6 +137,19 @@ namespace UVC.UIToolkit
|
||||
EnableInClassList("utk-long-field--disabled", !value);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 읽기 전용
|
||||
/// </summary>
|
||||
public new bool isReadOnly
|
||||
{
|
||||
get => base.isReadOnly;
|
||||
set
|
||||
{
|
||||
base.isReadOnly = value;
|
||||
EnableInClassList("utk-long-field--readonly", value);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
|
||||
Reference in New Issue
Block a user