Bug fixes

- Fixed issue where animation would not evaluate the clip percentage correctly
- Fixed pawn race selection drop down not updating
- Fixed issue that was stopping animations with floating points in integer fields from loading
This commit is contained in:
AbstractConcept 2022-10-31 21:19:52 -05:00
parent bb2cc29393
commit 270c4cf55b
105 changed files with 166 additions and 166 deletions

View file

@ -43,7 +43,10 @@ namespace RimWorldAnimationStudio
{
Button deleteButton = _optionToggle.Find("DeleteButton").GetComponent<Button>();
deleteButton.gameObject.SetActive(true);
deleteButton.onClick.AddListener(delegate { RemoveCustomTag(ref CustomTags.defNames, tag); });
deleteButton.onClick.AddListener(delegate {
RemoveCustomTag(ref CustomTags.defNames, tag);
EventsManager.OnDefNamesChanged();
});
}
if (addedNewTag && i == allTags.Count() - 1)
@ -57,7 +60,8 @@ namespace RimWorldAnimationStudio
fieldComp.onEndEdit.AddListener(delegate
{
AddCustomTag(fieldComp, ref DefaultTags.defNames, ref CustomTags.defNames);
AddCustomRace(fieldComp);
AddCustomRace(fieldComp);
EventsManager.OnDefNamesChanged();
});
}