We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f42f35 commit 7a665bcCopy full SHA for 7a665bc
1 file changed
flexfoil-ui/src/components/AirfoilCanvas.tsx
@@ -3150,7 +3150,7 @@ export function AirfoilCanvas({ initialViewport }: AirfoilCanvasProps) {
3150
onPointerMove={handlePointerMove}
3151
onPointerUp={handlePointerUp}
3152
onPointerCancel={handlePointerUp}
3153
- onPointerLeave={() => { handlePointerUp(); handleMouseLeave(); }}
+ onPointerLeave={(e) => { handlePointerUp(e); handleMouseLeave(); }}
3154
onDoubleClick={handleDoubleClick}
3155
onContextMenu={handleContextMenu}
3156
style={{ touchAction: 'none', cursor: isDragging ? 'grabbing' : isPanning ? 'grabbing' : (hoveredPoint || blHoverInfo) ? 'pointer' : 'crosshair' }}
0 commit comments