Update Editor UI to use empty Pivot after fa68a5f572

#3031
This commit is contained in:
Wojtek Figat
2025-03-16 23:06:08 +01:00
parent fa68a5f572
commit a4082934b8
26 changed files with 45 additions and 4 deletions

View File

@@ -232,6 +232,7 @@ namespace FlaxEditor.CustomEditors.Editors
public void Setup(CollectionEditor editor, int index, bool canReorder = true)
{
Pivot = Float2.Zero;
HeaderHeight = 18;
_canReorder = canReorder;
EnableDropDownIcon = true;
@@ -884,6 +885,11 @@ namespace FlaxEditor.CustomEditors.Editors
set => _pickerValidator.FileExtension = value;
}
public DragAreaControl()
{
Pivot = Float2.Zero;
}
/// <inheritdoc />
public override void Draw()
{