Code cleanup

This commit is contained in:
Chandler Cox
2023-12-31 16:36:34 -06:00
parent 57d4f0ff7d
commit 8bff9556de

View File

@@ -27,7 +27,6 @@ namespace FlaxEditor.CustomEditors.Editors
/// <inheritdoc />
public override void Initialize(LayoutElementsContainer layout)
{
var attributes = Values.GetAttributes();
var assetReference = (AssetReferenceAttribute)attributes?.FirstOrDefault(x => x is AssetReferenceAttribute);
if (assetReference != null)
@@ -64,7 +63,6 @@ namespace FlaxEditor.CustomEditors.Editors
_picker.Height = height;
_picker.SelectedItemChanged += OnSelectedItemChanged;
_isReference = true;
}
else
{