Refactor representation of character category in PDT.

This commit is contained in:
2023-11-29 14:51:14 +08:00
parent 6d0975b0a1
commit 5ef6e2b4a3
3 changed files with 37 additions and 41 deletions

View File

@@ -79,7 +79,7 @@ namespace Cryville.Crtr.Skin {
}
}
object InterpretAnimationSpanKey() {
if ((ct & 0x0040) != 0 || cc == ',') {
if ((ct & CharCategory.Digit) != 0 || cc == ',') {
float start = 0, end = 1;
if (cc != ',') {
start = float.Parse(GetNumber());