From 57f5ce089cff31dec8f0f6e066d5f794bcacb851 Mon Sep 17 00:00:00 2001 From: Tim Lorsbach Date: Thu, 9 Jul 2026 20:39:48 +0200 Subject: [PATCH] Make links thicker, reduce timeout trigger time --- static/js/pw.js | 3 +-- templates/objects/pathway.html | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pw.js b/static/js/pw.js index b0610b87..d81a1b18 100644 --- a/static/js/pw.js +++ b/static/js/pw.js @@ -263,7 +263,7 @@ function draw(pathway, elem) { } // Wait before showing popup (ms) - var popupWaitBeforeShow = 1000; + var popupWaitBeforeShow = 500; // Custom popover element let popoverTimeout = null; @@ -661,7 +661,6 @@ function draw(pathway, elem) { .append("g") .attr("class", "link-group"); - const link = linkGroup .append("path") .attr("class", d => d.target.pseudo ? "link_no_arrow" : "link") diff --git a/templates/objects/pathway.html b/templates/objects/pathway.html index 7474c380..ebd766ab 100644 --- a/templates/objects/pathway.html +++ b/templates/objects/pathway.html @@ -21,6 +21,7 @@ .link { stroke: #999; stroke-opacity: 0.6; + stroke-width: 1.5px; /* marker-end: url(#arrow); */ }