mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
Humbucker doesn't render second coil poles properly in certain scenarios
This commit is contained in:
@@ -2794,6 +2794,10 @@
|
|||||||
<changeType>BUG_FIX</changeType>
|
<changeType>BUG_FIX</changeType>
|
||||||
<description>4P5T and DP5T guitar switches were not properly configured for internal pin connections</description>
|
<description>4P5T and DP5T guitar switches were not properly configured for internal pin connections</description>
|
||||||
</org.diylc.appframework.update.Change>
|
</org.diylc.appframework.update.Change>
|
||||||
|
<org.diylc.appframework.update.Change>
|
||||||
|
<changeType>BUG_FIX</changeType>
|
||||||
|
<description>Humbucker doesn't render second coil poles properly in certain scenarios</description>
|
||||||
|
</org.diylc.appframework.update.Change>
|
||||||
</changes>
|
</changes>
|
||||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||||
</org.diylc.appframework.update.Version>
|
</org.diylc.appframework.update.Version>
|
||||||
|
|||||||
@@ -317,7 +317,7 @@ public class HumbuckerPickup extends AbstractGuitarPickup {
|
|||||||
new Ellipse2D.Double(x /* + pointMargin */- length + poleMargin + i * poleSpacing - poleSize / 2, y
|
new Ellipse2D.Double(x /* + pointMargin */- length + poleMargin + i * poleSpacing - poleSize / 2, y
|
||||||
- pointMargin + width - coilMargin - poleSize / 2, poleSize, poleSize);
|
- pointMargin + width - coilMargin - poleSize / 2, poleSize, poleSize);
|
||||||
poleArea.add(new Area(pole));
|
poleArea.add(new Area(pole));
|
||||||
if (getCoilType1() == PolePieceType.Screws) {
|
if (getCoilType2() == PolePieceType.Screws) {
|
||||||
if (i % 2 == 1) {
|
if (i % 2 == 1) {
|
||||||
screwPath.moveTo(x /* + pointMargin */- length + poleMargin + i * poleSpacing - poleSize / 2, y
|
screwPath.moveTo(x /* + pointMargin */- length + poleMargin + i * poleSpacing - poleSize / 2, y
|
||||||
- pointMargin + width - coilMargin - poleSize / 2);
|
- pointMargin + width - coilMargin - poleSize / 2);
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user