MCPcopy Create free account
hub / github.com/plotly/plotly.js / abortDrag

Function abortDrag

src/components/shapes/draw.js:489–493  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

487 }
488
489 function abortDrag() {
490 if (shouldSkipEdits(gd)) return;
491
492 removeVisualCues(shapeLayer);
493 }
494
495 function moveShape(dx, dy) {
496 if (shapeOptions.type === 'path') {

Callers

nothing calls this directly

Calls 2

shouldSkipEditsFunction · 0.85
removeVisualCuesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…