Do not show control points of locked components while dragging other

components
This commit is contained in:
Branislav Stojkovic
2020-04-30 17:51:30 +02:00
parent d4519ac5a9
commit 3c26a0c8da
5 changed files with 6 additions and 0 deletions
@@ -355,6 +355,8 @@ public class DrawingManager {
if (dragInProgress || drawOptions.contains(DrawOption.OUTLINE_MODE)) {
for (IDIYComponent<?> component : project.getComponents()) {
for (int i = 0; i < component.getControlPointCount(); i++) {
if (lockedComponents.contains(component))
continue;
VisibilityPolicy visibilityPolicy = component.getControlPointVisibilityPolicy(i);
if ((groupedComponents.contains(component)
&& (visibilityPolicy == VisibilityPolicy.ALWAYS || (selectedComponents.contains(component) && visibilityPolicy == VisibilityPolicy.WHEN_SELECTED)) || (!groupedComponents
@@ -3054,6 +3054,10 @@
<changeType>IMPROVEMENT</changeType>
<description>Include themes and fonts in OSX app package</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>IMPROVEMENT</changeType>
<description>Do not show control points of locked components while dragging other components</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>BUG_FIX</changeType>
<description>Some boards (e.g. Breadboard) stop working at certain orientations</description>
Binary file not shown.
Binary file not shown.
Binary file not shown.