MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / isShiftLeftDrag

Function isShiftLeftDrag

src/interaction/createInsideZoom.ts:60–61  ·  view source on GitHub ↗
(e: PointerEvent)

Source from the content-addressed store, hash-verified

58 e.pointerType === 'mouse' && (e.buttons & 4) !== 0;
59
60const isShiftLeftDrag = (e: PointerEvent): boolean =>
61 e.pointerType === 'mouse' && e.shiftKey && (e.buttons & 1) !== 0;
62
63/**
64 * Internal “inside” zoom interaction:

Callers 1

onMouseMoveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected