From fabe19e3d993fc57cbc1102f55cdfa26ab3009c7 Mon Sep 17 00:00:00 2001 From: alyx Date: Fri, 4 Feb 2022 16:50:47 +0000 Subject: undelete the desc of the searcher... oops --- grapher/script.js | 4 ++-- grapher/style.css | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'grapher') 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 { -- cgit v1.2.3-70-g09d2