mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +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<?>> newSelection = new ArrayList<IDIYComponent<?>>();
|
||||
for (IDIYComponent<?> component : componentSlot) {
|
||||
addComponent(component, true);
|
||||
currentProject.getComponents().add(component);
|
||||
newSelection.add(component);
|
||||
}
|
||||
// group components if there's more than one, e.g. building blocks, but not clipboard contents
|
||||
|
||||
Reference in New Issue
Block a user