k variants simplify

This commit is contained in:
be5invis 2023-05-23 19:10:30 -07:00
parent 14b3e54b61
commit 09d80208a8
4 changed files with 342 additions and 781 deletions

View file

@ -261,7 +261,7 @@ class VbStageAlternative {
this.key = key;
this.rank = raw.rank;
this.next = raw.next;
this.keySuffix = raw.keySuffix;
if (key !== "*") this.keySuffix = raw.keySuffix ?? key;
this.descriptionSuffix = raw.descriptionSuffix;
this.descriptionJoiner = raw.descriptionJoiner || "with";
this.disableIf = raw.disableIf;