Update ReorderableListView.cs

pull/497/head
何冠峰 2025-02-18 19:34:34 +08:00
parent e978164329
commit f5947db44a
1 changed files with 3 additions and 3 deletions

View File

@ -60,16 +60,16 @@ namespace YooAsset.Editor
/// <summary> /// <summary>
/// 元素固定高度 /// 元素固定高度
/// </summary> /// </summary>
public int ElementHeight public float ElementHeight
{ {
set set
{ {
_listView.itemHeight = value; _listView.fixedItemHeight = value;
_listView.Rebuild(); _listView.Rebuild();
} }
get get
{ {
return _listView.itemHeight; return _listView.fixedItemHeight;
} }
} }