sharpie7 / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
2.23k stars 619 forks source link

Bug: Using a DP3T switch in my particular circuit makes it render really wonky #923

Open Duckle29 opened 5 months ago

Duckle29 commented 5 months ago

Hey there.

In this circuit I changed two grouped switches from dual throw to tripple throw. When this is done, and the second switch is in position 3, everything goes wonky: http://tinyurl.com/ym7ldasc

The second switch is the top left unconnected one on the first picture. It doesn't matter if it's in or out of circuit, and it happens if it's 4 throw too.

image image image

image

Ctrl+z still works, so it seems the app is still working.

I'm using edge on windows 10.

Duckle29 commented 5 months ago

Deleting the other half of the circuit which had DPDT switches in the same group fixed it. Make sense that you can't have DT and TT switches in the same group, but the error is weird.