mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 09:20:47 +00:00
Fixed: fontFace html attribute in DefineEditText can be also an exportName
Fixed: BUTTONRECORD preview not showing in situations like GFX or importAssets Changed: ImportAssets tag reorganized - now imported items are not in the tag tree, but when referenced it works
This commit is contained in:
@@ -230,7 +230,7 @@ public class FontPanel extends JPanel implements TagEditorPanel {
|
||||
|
||||
if (replaced) {
|
||||
if (ViewMessages.showConfirmDialog(FontPanel.this, translate("message.font.replace.updateTexts"), translate("message.warning"), JOptionPane.YES_NO_OPTION, JOptionPane.INFORMATION_MESSAGE) == JOptionPane.YES_OPTION) {
|
||||
int fontId = ft.getFontId();
|
||||
int fontId = ft.getCharacterId();
|
||||
SWF swf = ft.getSwf();
|
||||
for (Tag tag : swf.getTags()) {
|
||||
if (tag instanceof TextTag) {
|
||||
@@ -678,8 +678,8 @@ public class FontPanel extends JPanel implements TagEditorPanel {
|
||||
FontTag f = (FontTag) item;
|
||||
SWF swf = f.getSwf();
|
||||
String selectedName = ((FontFace) fontFaceSelection.getSelectedItem()).font.getFontName(Locale.ENGLISH);
|
||||
swf.sourceFontNamesMap.put(f.getFontId(), selectedName);
|
||||
Configuration.addFontPair(swf.getShortPathTitle(), f.getFontId(), f.getFontNameIntag(), selectedName);
|
||||
swf.sourceFontNamesMap.put(f.getCharacterId(), selectedName);
|
||||
Configuration.addFontPair(swf.getShortPathTitle(), f.getCharacterId(), f.getFontNameIntag(), selectedName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user