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 | 4979ad72cb5fd472fffeebdb371e5807a0720b81 (patch) | |
| tree | 1e49073a2f6695b2a586a6e9896ebb0eb6be94e3 /src/api/dashboard/dashboard.html | |
| parent | 00a13d8679f83dafafe8876ef399dd990c8f9b6a (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) { |
