fixed character editor anim bug that happened when adding a new anim (#757)
* fixed character editor anim bug * forgor to change one variable
This commit is contained in:
@@ -258,6 +258,10 @@ class CharacterAnimButton extends UIButton {
|
||||
parent.displayAnimsFramesList.remove(anim);
|
||||
parent.displayAnimsFramesList.set(newName, displayFrame);
|
||||
|
||||
var animButton = parent.animButtons.get(this.anim);
|
||||
parent.animButtons.remove(this.anim);
|
||||
parent.animButtons.set(newName, animButton);
|
||||
|
||||
this.anim = newName;
|
||||
nameTextBox.label.text = newName;
|
||||
updateText();
|
||||
|
||||
Reference in New Issue
Block a user