mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
Fixed a bug that causes the background of exported images and PDFs to be very light gray instead of pure white
This commit is contained in:
@@ -474,7 +474,7 @@ public class DrawingManager {
|
||||
}
|
||||
|
||||
// shade extra space
|
||||
if (SHADE_EXTRA_SPACE && extraSpaceRect != null) {
|
||||
if (drawOptions.contains(DrawOption.EXTRA_SPACE) && SHADE_EXTRA_SPACE && extraSpaceRect != null) {
|
||||
Area extraSpaceArea = new Area(
|
||||
new Rectangle2D.Double(0, 0, canvasDimension.getWidth(), canvasDimension.getHeight()));
|
||||
extraSpaceArea.subtract(new Area(extraSpaceRect));
|
||||
@@ -562,7 +562,9 @@ public class DrawingManager {
|
||||
return;
|
||||
}
|
||||
|
||||
g2dIn.drawImage(cachedGridImage, 0, 0, null);
|
||||
if (drawOptions.contains(DrawOption.GRID) && gridType != GridType.NONE) {
|
||||
g2dIn.drawImage(cachedGridImage, 0, 0, null);
|
||||
}
|
||||
|
||||
// manage extra space
|
||||
if (drawOptions.contains(DrawOption.EXTRA_SPACE)) {
|
||||
|
||||
@@ -3829,5 +3829,21 @@
|
||||
</changes>
|
||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||
</org.diylc.appframework.update.Version>
|
||||
<org.diylc.appframework.update.Version>
|
||||
<versionNumber>
|
||||
<major>4</major>
|
||||
<minor>24</minor>
|
||||
<build>0</build>
|
||||
</versionNumber>
|
||||
<releaseDate>2022-04-23 00:00:00.000 CET</releaseDate>
|
||||
<name></name>
|
||||
<changes>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>Fixed a bug that causes the background of exported images and PDFs to be very light gray instead of pure white</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
</changes>
|
||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||
</org.diylc.appframework.update.Version>
|
||||
</a>
|
||||
</java.util.Arrays_-ArrayList>
|
||||
|
||||
@@ -25,8 +25,10 @@
|
||||
A-O-I REGULATOR
|
||||
AWG
|
||||
And
|
||||
Bracket
|
||||
C-B-E BJT
|
||||
Check Trace Proximity
|
||||
Column Spacing
|
||||
D-G-S JFET
|
||||
D-G-S MOSFET
|
||||
D-S-G JFET
|
||||
@@ -34,6 +36,7 @@ D-S-G MOSFET
|
||||
DFM A
|
||||
DFM B
|
||||
DIP
|
||||
DP3T
|
||||
DP3T
|
||||
DP5T
|
||||
DPDT
|
||||
@@ -84,6 +87,7 @@ SMD
|
||||
SPDT
|
||||
SPDT (Center OFF)
|
||||
SPST
|
||||
Show Bracket
|
||||
Srpski
|
||||
Tick Width
|
||||
Ticks
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user