aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/dashboard
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 22:44:08 +0100
committertv <tv@krebsco.de>2026-10-31 22:44:08 +0100
commit15f32bbf06022bdbc0ff1ef9300bd5f309d4d18a (patch)
treed0ccf3805f19b5ef860f16e84025b71ebd1e76d4 /src/api/dashboard
parentd355a99b3bb7354ecc749fbd7bdda2c78f9a43db (diff)
dashboard: dynamic graph follows dragged pins
Diffstat (limited to 'src/api/dashboard')
-rw-r--r--src/api/dashboard/dashboard.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/dashboard/dashboard.html b/src/api/dashboard/dashboard.html
index 4823f74..6e4b1a0 100644
--- a/src/api/dashboard/dashboard.html
+++ b/src/api/dashboard/dashboard.html
@@ -1327,6 +1327,8 @@ function drag(event, id) {
p.y = from.y + y / view.k;
pinned.add(id);
renderGraph();
+ // Resized by round trip: the others follow it at once.
+ if (byRtt) settle();
}, () => {
const now = performance.now();
if (lastNodeClick.id === id && now - lastNodeClick.at < DOUBLE_CLICK_MS) {