make wifi_draw.js draw connections correctly, and use tabs instead of spaces

This commit is contained in:
redbirdly 2025-02-22 17:52:47 +08:00 committed by GitHub
parent fe1e9a8963
commit ad14587fbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 66 additions and 66 deletions

View File

@ -27,7 +27,7 @@ function updateLogicLists() {
} }
// Function to draw lines between linked transmitters and receivers // Function to draw lines between linked transmitters and receivers
function drawLinks() { function drawLinks(ctx) {
// Iterate through transmitters and receivers to draw lines for linked channels // Iterate through transmitters and receivers to draw lines for linked channels
for (const transmitter of logicTransmitters) { for (const transmitter of logicTransmitters) {
for (const receiver of logicReceivers) { for (const receiver of logicReceivers) {