mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
Fixed the issue with embedding image files into DIY projects
This commit is contained in:
@@ -234,6 +234,7 @@ public class Image extends AbstractTransparentComponent<Void> {
|
||||
|
||||
public void setData(byte[] data) {
|
||||
this.data = data;
|
||||
this.imageIcon = null;
|
||||
this.image = null;
|
||||
if (getSizingMode() == ImageSizingMode.TwoPoints) {
|
||||
ImageIcon imageIcon = getImage();
|
||||
|
||||
Reference in New Issue
Block a user