TextureAtlasEditor - Use display name rather than internal name when opening animation editor

This commit is contained in:
miku-666
2024-07-03 12:50:03 +02:00
parent 3baa592d25
commit 74da4a74a9

View File

@@ -529,7 +529,7 @@ namespace PckStudio.Forms.Editor
var animation = file.GetDeserializedData(AnimationDeserializer.DefaultDeserializer);
var animationEditor = new AnimationEditor(animation, _selectedTile.Tile.InternalName, GetBlendColor());
var animationEditor = new AnimationEditor(animation, _selectedTile.Tile.DisplayName);
if (animationEditor.ShowDialog(this) != DialogResult.OK)
{
return;