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