mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 16:28:23 -05:00
Making the assignment more uniform
This commit is contained in:
parent
3c873d04ca
commit
3583f83082
@ -31,6 +31,7 @@ namespace TriInspector.Elements
|
|||||||
|
|
||||||
_property = property;
|
_property = property;
|
||||||
_alwaysExpanded = settings?.AlwaysExpanded ?? false;
|
_alwaysExpanded = settings?.AlwaysExpanded ?? false;
|
||||||
|
_fixDefaultValue = settings?.FixDefaultValue ?? false;
|
||||||
_showElementLabels = settings?.ShowElementLabels ?? false;
|
_showElementLabels = settings?.ShowElementLabels ?? false;
|
||||||
_reorderableListGui = new ReorderableList(null, _property.ArrayElementType)
|
_reorderableListGui = new ReorderableList(null, _property.ArrayElementType)
|
||||||
{
|
{
|
||||||
@ -44,7 +45,6 @@ namespace TriInspector.Elements
|
|||||||
onRemoveCallback = RemoveElementCallback,
|
onRemoveCallback = RemoveElementCallback,
|
||||||
onReorderCallbackWithDetails = ReorderCallback,
|
onReorderCallbackWithDetails = ReorderCallback,
|
||||||
};
|
};
|
||||||
_fixDefaultValue = settings?.FixDefaultValue ?? false;
|
|
||||||
|
|
||||||
if (!_reorderableListGui.displayAdd && !_reorderableListGui.displayRemove)
|
if (!_reorderableListGui.displayAdd && !_reorderableListGui.displayRemove)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user