mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 08:18:49 -05:00
Delete unnecessary change check
This commit is contained in:
parent
85603b0325
commit
0d0ec09bf4
@ -118,20 +118,10 @@ namespace TriInspector.Elements
|
||||
|
||||
var labelWidthExtra = 6f + (_reorderableListGui.draggable ? 15f : 0f);
|
||||
|
||||
EditorGUI.BeginChangeCheck();
|
||||
|
||||
using (TriGuiHelper.PushLabelWidth(EditorGUIUtility.labelWidth - labelWidthExtra))
|
||||
{
|
||||
_reorderableListGui.DoList(position);
|
||||
}
|
||||
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
{
|
||||
if (_reorderableListGui.list != null)
|
||||
{
|
||||
_property.SetValue(_reorderableListGui.list);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private bool GenerateChildren()
|
||||
|
Loading…
Reference in New Issue
Block a user