mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 08:18:49 -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;
|
||||
_alwaysExpanded = settings?.AlwaysExpanded ?? false;
|
||||
_fixDefaultValue = settings?.FixDefaultValue ?? false;
|
||||
_showElementLabels = settings?.ShowElementLabels ?? false;
|
||||
_reorderableListGui = new ReorderableList(null, _property.ArrayElementType)
|
||||
{
|
||||
@ -44,7 +45,6 @@ namespace TriInspector.Elements
|
||||
onRemoveCallback = RemoveElementCallback,
|
||||
onReorderCallbackWithDetails = ReorderCallback,
|
||||
};
|
||||
_fixDefaultValue = settings?.FixDefaultValue ?? false;
|
||||
|
||||
if (!_reorderableListGui.displayAdd && !_reorderableListGui.displayRemove)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user