Display depth when hovering ImagePanel

Display the depth of the objects under the cursor
This commit is contained in:
Exund
2021-11-29 19:39:23 +01:00
committed by Jindra Petřík
parent 85fb118138
commit 52270d33b0
3 changed files with 7 additions and 0 deletions

View File

@@ -2207,6 +2207,10 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
first = false;
CharacterTag c = swf.getCharacter(ds.characterId);
ret.append(c.toString());
if(ds.depth > 0) {
ret.append(" Depth: ");
ret.append(ds.depth);
}
}
if (first) {