Fix sprite atlas limit on 4096

#2218
This commit is contained in:
Wojtek Figat
2024-02-06 14:49:44 +01:00
parent 6528e14f37
commit d33ff4306f

View File

@@ -83,14 +83,14 @@ namespace FlaxEditor.Windows.Assets
set => Sprite.Name = value;
}
[EditorOrder(1), Limit(-4096, 4096)]
[EditorOrder(1)]
public Float2 Location
{
get => Sprite.Location;
set => Sprite.Location = value;
}
[EditorOrder(3), Limit(0, 4096)]
[EditorOrder(3), Limit(0)]
public Float2 Size
{
get => Sprite.Size;