"Auto-Create Pads" doesn't work for ICs and similar non-stretchable

components
This commit is contained in:
bancika
2020-03-23 19:41:24 +01:00
parent 25c86ad4e9
commit 257c7bc3bf
2 changed files with 6 additions and 2 deletions
@@ -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>