diff options
| author | tv <tv@krebsco.de> | 2026-10-31 22:44:08 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 22:44:08 +0100 |
| commit | 93bba3263d16d2b27fbc93ae57546e8c14faf8e4 (patch) | |
| tree | c9e5c1515d97073ae7e67014c84049f90596d720 /src/api/dashboard/dashboard.html | |
| parent | 75338d3c9f4843fbfbf528b7c37baa18ce2d27a1 (diff) | |
dashboard: dynamic graph follows dragged pins
Diffstat (limited to 'src/api/dashboard/dashboard.html')
| -rw-r--r-- | src/api/dashboard/dashboard.html | 2 |
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) { |
