mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
"Auto-Create Pads" doesn't work for ICs and similar non-stretchable
components
This commit is contained in:
@@ -584,7 +584,7 @@ public class Presenter implements IPlugInPort {
|
||||
List<IDIYComponent<?>> componentSlot = instantiationManager.getComponentSlot();
|
||||
List<IDIYComponent<?>> newSelection = new ArrayList<IDIYComponent<?>>();
|
||||
for (IDIYComponent<?> component : componentSlot) {
|
||||
currentProject.getComponents().add(component);
|
||||
addComponent(component, true);
|
||||
newSelection.add(component);
|
||||
}
|
||||
// group components if there's more than one, e.g. building blocks, but not clipboard
|
||||
@@ -2065,7 +2065,7 @@ public class Presenter implements IPlugInPort {
|
||||
* @param component
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
private void addComponent(IDIYComponent<?> component, boolean alowAutoCreate) {
|
||||
private void addComponent(IDIYComponent<?> component, boolean allowAutoCreate) {
|
||||
int index = currentProject.getComponents().size();
|
||||
while (index > 0
|
||||
&& ComponentProcessor.getInstance()
|
||||
|
||||
@@ -2722,6 +2722,10 @@
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Upgraded to Java 8</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>"Auto-Create Pads" doesn't work for ICs and similar non-stretchable components</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>Hide the 3rd control point for components that do not need it (Trace, Jumper, Line)</description>
|
||||
|
||||
Reference in New Issue
Block a user