Added ExportAssets tag - show first item as description in the tree when there is only single item

This commit is contained in:
Jindra Petřík
2023-11-28 16:07:58 +01:00
parent b595ea976a
commit 9f2cd80200
2 changed files with 11 additions and 0 deletions

View File

@@ -154,4 +154,14 @@ public class ExportAssetsTag extends SymbolClassTypeTag {
public void getNeededCharacters(Set<Integer> needed, SWF swf) {
needed.addAll(tags);
}
@Override
public String toString() {
if (names.size() == 1) {
return super.toString() + " (" + tags.get(0) + ": " + names.get(0)+")";
}
return super.toString();
}
}