Немного поправил UI и сделал скетч ESP32 для регистрации

This commit is contained in:
AidarKC
2026-12-03 09:01:47 +03:00
parent c61cbf239c
commit eae8280062
37 changed files with 1014 additions and 29 deletions
@@ -2348,6 +2348,7 @@ export function createGraphCanvas({ stage, onSelect, onNodeMoved, onGroupSelect,
const node = caption ? null : hitTest(p.x, p.y);
const touch = event.pointerType === 'touch' || event.pointerType === 'pen';
gesture = { kind: 'pending', touch, start: p, last: p, lastAt: performance.now(), node, caption, vx: 0, vy: 0 };
if (node?.isFocus && !caption) onSelect?.(node.data);
// Пальцем: просто провести – двигается карта; задержать палец на человеке – можно
// переносить его. Иначе на плотной карте любая попытка сдвинуть её хватала бы точку.
if (touch && node && !node.isFocus) {