mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-02 11:54:36 +00:00
Fixed: Copying to clipboard does not support transparency
This commit is contained in:
@@ -171,6 +171,14 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
|
||||
listeners.remove(listener);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Color getBackgroundColor() {
|
||||
if (swf != null && swf.getBackgroundColor() != null) {
|
||||
return swf.getBackgroundColor().backgroundColor.toColor();
|
||||
}
|
||||
return Color.white;
|
||||
}
|
||||
|
||||
private class IconPanel extends JPanel {
|
||||
|
||||
private SerializableImage _img;
|
||||
|
||||
Reference in New Issue
Block a user