diff options
Diffstat (limited to 'grapher')
-rw-r--r-- | grapher/script.js | 4 | ||||
-rw-r--r-- | grapher/style.css | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/grapher/script.js b/grapher/script.js index 6057220..807a88d 100644 --- a/grapher/script.js +++ b/grapher/script.js @@ -55,7 +55,7 @@ function renderCurveBetweenPorts(outx, outy, inx, iny) { ctx.bezierCurveTo(cp1x, outy, cp2x, iny, inx, iny); ctx.moveTo(outx,outy); ctx.closePath(); - ctx.lineWidth = 5; + ctx.lineWidth = 3; ctx.stroke(); } @@ -263,7 +263,7 @@ window.onload = async function() { for (const point of [wire.o, wire.i]) { if (point instanceof Element) { let rects = point.getClientRects()[0]; - points.push(point == wire.i ? rects.left - remtopx(2) : rects.right + remtopx(1.5)); + points.push(point == wire.i ? rects.left - remtopx(1.5) : rects.right + remtopx(1.1)); points.push((rects.top + rects.bottom) / 2); } else { points.push(point.x); diff --git a/grapher/style.css b/grapher/style.css index 793d213..650faba 100644 --- a/grapher/style.css +++ b/grapher/style.css @@ -28,6 +28,7 @@ body { "searcher graph"; grid-column-gap: 0; grid-row-gap: 0; + --chip-scale: 1.5rem !important; } iframe#searcher { |