mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
Fixed the issue with embedding image files into DIY projects
This commit is contained in:
@@ -305,6 +305,10 @@
|
||||
<releaseDate>2025-04-21 00:00:00.000 CET</releaseDate>
|
||||
<name></name>
|
||||
<changes>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>NEW_FEATURE</changeType>
|
||||
<description>'AI Analyzer' feature added</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Significantly improve rendering performance of most components</description>
|
||||
@@ -317,6 +321,10 @@
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>'Pilot Lamp Holder' component can sometimes hang the application</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>Fixed the issue with embedding image files into DIY projects</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>Fixed the issue with some components (e.g. DIP IC) jumping when showing underside of a board</description>
|
||||
|
||||
@@ -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