()
| 28 | } |
| 29 | |
| 30 | function reconnectDragPreview() { |
| 31 | if (disconnectCurrentDragPreview) { |
| 32 | disconnectCurrentDragPreview(); |
| 33 | disconnectCurrentDragPreview = null; |
| 34 | } |
| 35 | |
| 36 | if (currentHandlerId && currentDragPreviewNode) { |
| 37 | disconnectCurrentDragPreview = backend.connectDragPreview( |
| 38 | currentHandlerId, |
| 39 | currentDragPreviewNode, |
| 40 | currentDragPreviewOptions, |
| 41 | ); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | function receiveHandlerId(handlerId) { |
| 46 | if (handlerId === currentHandlerId) { |
no test coverage detected