Closed nulldg closed 3 years ago
The boxes are a good idea. But I think the boxes need to be slightly smaller and/or need to be configurable or only present for newly created relays, because they cause some problems in the example relay circuits (like Other Passive Circuits/Relays/Relay Oscillator) with the boxes overlapping other circuit elements.
I was going to make another commit to make it smaller, but then decided against it since I have a habit of making too many commits per pull. I'll do that now - thanks for the heads up!
The boxes are now smaller and there's an option to show/hide it. Old circuits will have it hidden by default, new circuits will show it by default.
I might go with 25 for boxWScale , how does that look to you?
Looks good! The value 40 was calculated based on the other values to make it square like a real relay, but making it more compact is good too.
These are the changes for https://github.com/sharpie7/circuitjs1/issues/618#issuecomment-859720122.
Feel free to make changes to the branch.