equal
deleted
inserted
replaced
131 elif self.Type == RIGHTRAIL: |
131 elif self.Type == RIGHTRAIL: |
132 connector.SetPosition(wxPoint(0, position)) |
132 connector.SetPosition(wxPoint(0, position)) |
133 position += LD_LINE_SIZE |
133 position += LD_LINE_SIZE |
134 self.RefreshConnected() |
134 self.RefreshConnected() |
135 |
135 |
136 # Refresh the position of wires connefcted to power rail |
136 # Refresh the position of wires connected to power rail |
137 def RefreshConnected(self, exclude = []): |
137 def RefreshConnected(self, exclude = []): |
138 for connector in self.Connectors: |
138 for connector in self.Connectors: |
139 connector.MoveConnected(exclude) |
139 connector.MoveConnected(exclude) |
140 |
140 |
141 # Returns the power rail connector that starts with the point given if it exists |
141 # Returns the power rail connector that starts with the point given if it exists |