mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-19 21:00:08 +08:00
parent
5577e4c1bc
commit
9a56ff5bb6
@ -460,12 +460,12 @@ namespace nadena.dev.modular_avatar.core.editor
|
|||||||
|
|
||||||
protected override void OnInnerInspectorGUI()
|
protected override void OnInnerInspectorGUI()
|
||||||
{
|
{
|
||||||
ElementHeightCache = BuildHeightCache();
|
|
||||||
|
|
||||||
EditorGUI.BeginChangeCheck();
|
EditorGUI.BeginChangeCheck();
|
||||||
_devMode = EditorGUILayout.Toggle(G("params.devmode"), _devMode);
|
_devMode = EditorGUILayout.Toggle(G("params.devmode"), _devMode);
|
||||||
if (EditorGUI.EndChangeCheck() || _reorderableList == null || _needsRebuild) SetupList();
|
if (EditorGUI.EndChangeCheck() || _reorderableList == null || _needsRebuild) SetupList();
|
||||||
Debug.Assert(_reorderableList != null, nameof(_reorderableList) + " != null");
|
Debug.Assert(_reorderableList != null, nameof(_reorderableList) + " != null");
|
||||||
|
|
||||||
|
ElementHeightCache = BuildHeightCache();
|
||||||
|
|
||||||
if (_devMode || _selectedIndices.Count > 0)
|
if (_devMode || _selectedIndices.Count > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user