SHA256
Немного поправил UI и сделал скетч ESP32 для регистрации
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user