mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-15 15:58:41 -04:00
fixed a mysterious bug in the RelayShape.java
This commit is contained in:
parent
a6822c16ab
commit
6525256813
@ -41,8 +41,7 @@ public class RelayShape implements Shape {
|
||||
public RelayShape(ElementAttributes attributes, PinDescriptions inputs, PinDescriptions outputs) {
|
||||
this.inputs = inputs;
|
||||
this.outputs = outputs;
|
||||
invers = attributes.get(Keys.RELAY_NORMALLY_CLOSED);
|
||||
relayIsClosed = invers;
|
||||
relayIsClosed = attributes.get(Keys.RELAY_NORMALLY_CLOSED);
|
||||
label = attributes.getCleanLabel();
|
||||
poles = attributes.get(Keys.POLES);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user