mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 01:10:44 +00:00
closing swffixed, #766 [error] Can't extract all resources from the swf fixed
This commit is contained in:
+3
-1
@@ -156,7 +156,9 @@ public class SVGShapeExporter extends DefaultSVGShapeExporter {
|
|||||||
finalizePath();
|
finalizePath();
|
||||||
thickness *= zoom / SWF.unitDivisor;
|
thickness *= zoom / SWF.unitDivisor;
|
||||||
path.setAttribute("fill", "none");
|
path.setAttribute("fill", "none");
|
||||||
path.setAttribute("stroke", color.toHexRGB());
|
if (color != null) {
|
||||||
|
path.setAttribute("stroke", color.toHexRGB());
|
||||||
|
}
|
||||||
path.setAttribute("stroke-width", Double.toString(thickness == 0 ? 1 : thickness));
|
path.setAttribute("stroke-width", Double.toString(thickness == 0 ? 1 : thickness));
|
||||||
if (color instanceof RGBA) {
|
if (color instanceof RGBA) {
|
||||||
RGBA colorA = (RGBA) color;
|
RGBA colorA = (RGBA) color;
|
||||||
|
|||||||
@@ -44,7 +44,11 @@ public class SWFList implements List<SWF>, SWFContainerItem {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return name;
|
if (isBundle) {
|
||||||
|
return name;
|
||||||
|
} else {
|
||||||
|
return swfs.get(0).getFileTitle();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -695,7 +695,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (modified) {
|
if (modified) {
|
||||||
if (View.showConfirmDialog(this, translate("message.confirm.close").replace("{swfName}",swfList.name), translate("message.warning"), JOptionPane.OK_CANCEL_OPTION, Configuration.showCloseConfirmation, JOptionPane.CANCEL_OPTION) == JOptionPane.CANCEL_OPTION) {
|
if (View.showConfirmDialog(this, translate("message.confirm.close").replace("{swfName}", swfList.toString()), translate("message.warning"), JOptionPane.OK_CANCEL_OPTION, Configuration.showCloseConfirmation, JOptionPane.OK_OPTION) == JOptionPane.CANCEL_OPTION) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user