sharpie7 / circuitjs1

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

Feature-highlight neighbours #901

Open Noitarud opened 8 months ago

Noitarud commented 8 months ago

Sometimes I mesh my components together and can hardly tell the immediate circuit apart, can the neighbouring wires and components get a little highlight when I hover over something?

pfalstad commented 8 months ago

I'm not sure what you're asking here. You want neighboring components to highlighted when you hover over something? How would you be able to tell which component is selected then?

Noitarud commented 8 months ago

I was envisioning the neighbouring components to become blue (rather than cyan), I did not specify a colour just in case you immediately thought of something/someway more comfortable.

its up to you if you want to traverse all wire links up to the next component (or just one object, but the tracing should be rather handy at times, it would highlight the whole wire loop error instead of one piece)