(net)
| 294 | } |
| 295 | |
| 296 | function netColorRightClick(net) { |
| 297 | return (event) => { |
| 298 | if (event.button == 2) { |
| 299 | event.preventDefault(); |
| 300 | event.stopPropagation(); |
| 301 | |
| 302 | var style = getComputedStyle(topmostdiv); |
| 303 | var defaultNetColor = style.getPropertyValue('--track-color').trim(); |
| 304 | event.target.value = defaultNetColor; |
| 305 | delete settings.netColors[net]; |
| 306 | updateNetColors(); |
| 307 | } |
| 308 | } |
| 309 | } |
| 310 | |
| 311 | function entryMatches(entry) { |
| 312 | if (settings.bommode == "netlist") { |
no test coverage detected