mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
switch fixes
This commit is contained in:
@@ -45,7 +45,8 @@ public class SwitchUtils {
|
||||
for (int i = 0; i < numPoints; i++) {
|
||||
final int finalI = i;
|
||||
if (switchingMatrix.stream().allMatch(
|
||||
l -> l.stream().anyMatch(
|
||||
l -> l.isEmpty() ||
|
||||
l.stream().anyMatch(
|
||||
s -> s.contains(finalI)))) {
|
||||
markers[i] = String.valueOf((char)((int)'A' + commonPoints.size()));
|
||||
commonPoints.add(i);
|
||||
|
||||
@@ -331,7 +331,7 @@
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>NEW_FEATURE</changeType>
|
||||
<description>Added ability to highlight connected switch lugs in selected position in order to illustrate how it works internally.</description>
|
||||
<description>Added ability to display switch lug markings in order to illustrate how it works internally.</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
@@ -345,6 +345,10 @@
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Fully configurable colors for 'Mini Toggle Switch' components</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Removed 'DP3T' options from 'Mini Toggle Switch' because that is covered by 'Slide Switch' component and does not belong here</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>Applying a variant to a 'Hookup Wire' or 'Curved Trace' makes it lose its shape</description>
|
||||
|
||||
Reference in New Issue
Block a user