mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
Z-order of components sometimes gets wrong when importing a DIY file
into another file
This commit is contained in:
@@ -568,7 +568,7 @@ public class Presenter implements IPlugInPort {
|
|||||||
List<IDIYComponent<?>> componentSlot = instantiationManager.getComponentSlot();
|
List<IDIYComponent<?>> componentSlot = instantiationManager.getComponentSlot();
|
||||||
List<IDIYComponent<?>> newSelection = new ArrayList<IDIYComponent<?>>();
|
List<IDIYComponent<?>> newSelection = new ArrayList<IDIYComponent<?>>();
|
||||||
for (IDIYComponent<?> component : componentSlot) {
|
for (IDIYComponent<?> component : componentSlot) {
|
||||||
addComponent(component, true);
|
currentProject.getComponents().add(component);
|
||||||
newSelection.add(component);
|
newSelection.add(component);
|
||||||
}
|
}
|
||||||
// group components if there's more than one, e.g. building blocks, but not clipboard contents
|
// group components if there's more than one, e.g. building blocks, but not clipboard contents
|
||||||
|
|||||||
@@ -2638,6 +2638,10 @@
|
|||||||
<changeType>IMPROVEMENT</changeType>
|
<changeType>IMPROVEMENT</changeType>
|
||||||
<description>Honor "Terminal Strip" connectivity when creating a netlist</description>
|
<description>Honor "Terminal Strip" connectivity when creating a netlist</description>
|
||||||
</org.diylc.appframework.update.Change>
|
</org.diylc.appframework.update.Change>
|
||||||
|
<org.diylc.appframework.update.Change>
|
||||||
|
<changeType>BUG_FIX</changeType>
|
||||||
|
<description>Z-order of components sometimes gets wrong when importing a DIY file into another file</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>
|
||||||
|
|||||||
Reference in New Issue
Block a user