mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 04:20:51 +00:00
Added ExportAssets tag - show first item as description in the tree when there is only single item
This commit is contained in:
@@ -23,6 +23,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
- [#2124] Copy tags to other SWFs and replace same classes / export names
|
- [#2124] Copy tags to other SWFs and replace same classes / export names
|
||||||
- Remembering breakpoints
|
- Remembering breakpoints
|
||||||
- [#2131] Breakpoint list dialog
|
- [#2131] Breakpoint list dialog
|
||||||
|
- ExportAssets tag - show first item as description in the tree when there is only single item
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- [#2021], [#2000] Caret position in editors when using tabs and / or unicode
|
- [#2021], [#2000] Caret position in editors when using tabs and / or unicode
|
||||||
|
|||||||
@@ -154,4 +154,14 @@ public class ExportAssetsTag extends SymbolClassTypeTag {
|
|||||||
public void getNeededCharacters(Set<Integer> needed, SWF swf) {
|
public void getNeededCharacters(Set<Integer> needed, SWF swf) {
|
||||||
needed.addAll(tags);
|
needed.addAll(tags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
if (names.size() == 1) {
|
||||||
|
return super.toString() + " (" + tags.get(0) + ": " + names.get(0)+")";
|
||||||
|
}
|
||||||
|
return super.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user