(event: MouseEvent)
| 413 | } |
| 414 | |
| 415 | function onDoubleClick(event: MouseEvent) { |
| 416 | const node = hitTest(event.clientX, event.clientY); |
| 417 | if (node) propsRef.current.onExpand(node.id); |
| 418 | } |
| 419 | |
| 420 | function onPointerLeave() { |
| 421 | hoverRef.current = null; |