Prettified Code!

This commit is contained in:
DJ2LS 2023-02-15 13:41:51 +00:00 committed by GitHub Action
parent 30816db2ec
commit feef987e30

View file

@ -1723,7 +1723,8 @@ ipcRenderer.on("action-update-tnc-state", (event, arg) => {
pointRadius: 1,
segment: {
borderColor: (speedCtx) =>
skipped(speedCtx, "rgb(0,0,0,0.4)") || down(speedCtx, "rgb(192,75,75)"),
skipped(speedCtx, "rgb(0,0,0,0.4)") ||
down(speedCtx, "rgb(192,75,75)"),
borderDash: (speedCtx) => skipped(speedCtx, [3, 3]),
},
spanGaps: true,