When deleting trace cuts from a vero board, highlight connected areas

would still render the area from before the cut was deleted
This commit is contained in:
bancika
2020-03-27 10:20:58 +01:00
parent 0f0739c978
commit 32eb3a366a
5 changed files with 9 additions and 4 deletions
@@ -1613,10 +1613,11 @@ public class Presenter implements IPlugInPort {
Project oldProject = currentProject.clone();
// Remove selected components from any groups.
ungroupComponents(selectedComponents);
// Remove from area map.
for (IDIYComponent<?> component : selectedComponents) {
drawingManager.invalidateComponent(component);
}
// Remove from area map.
drawingManager.clearComponentAreaMap();
drawingManager.clearContinuityArea();
currentProject.getComponents().removeAll(selectedComponents);
messageDispatcher.dispatchMessage(EventType.PROJECT_MODIFIED, oldProject, currentProject.clone(), "Delete");
drawingManager.clearContinuityArea();
@@ -2778,6 +2778,10 @@
<changeType>BUG_FIX</changeType>
<description>Issues with connectivity check with some components (e.g. Jumper) where the middle of the component was considered as a connected point</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>BUG_FIX</changeType>
<description>When deleting trace cuts from a vero board, highlight connected areas would still render the area from before the cut was deleted</description>
</org.diylc.appframework.update.Change>
</changes>
<url>https://github.com/bancika/diy-layout-creator/releases</url>
</org.diylc.appframework.update.Version>
Binary file not shown.
Binary file not shown.
Binary file not shown.