aboutsummaryrefslogtreecommitdiffstats
path: root/grapher
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2022-02-04 16:50:47 +0000
committerAleteoryx <alyx@aleteoryx.me>2022-02-04 16:50:47 +0000
commitfabe19e3d993fc57cbc1102f55cdfa26ab3009c7 (patch)
treecbd7fd0f79b57e6714ef42c3cf23cc9ed47057ef /grapher
parent7ff0aae8bbba96dc8eb4377536a5ccfc4e1bf7ee (diff)
downloadRRCUtils-fabe19e3d993fc57cbc1102f55cdfa26ab3009c7.tar.gz
RRCUtils-fabe19e3d993fc57cbc1102f55cdfa26ab3009c7.tar.bz2
RRCUtils-fabe19e3d993fc57cbc1102f55cdfa26ab3009c7.zip
undelete the desc of the searcher... oops
Diffstat (limited to 'grapher')
-rw-r--r--grapher/script.js4
-rw-r--r--grapher/style.css1
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 {