(opts)
| 45 | } |
| 46 | |
| 47 | function update(opts) { |
| 48 | var updateObject = {}; |
| 49 | |
| 50 | if(dragOptions.isActiveShape !== undefined) { |
| 51 | dragOptions.isActiveShape = false; // i.e. to disable shape controllers |
| 52 | updateObject = newShapes(outlines, dragOptions); |
| 53 | } |
| 54 | |
| 55 | if(dragOptions.isActiveSelection !== undefined) { |
| 56 | dragOptions.isActiveSelection = false; // i.e. to disable selection controllers |
| 57 | updateObject = newSelections(outlines, dragOptions); |
| 58 | |
| 59 | gd._fullLayout._reselect = true; |
| 60 | } |
| 61 | |
| 62 | if(Object.keys(updateObject).length) { |
| 63 | Registry.call((opts || {}).redrawing ? 'relayout' : '_guiRelayout', gd, updateObject); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | var fullLayout = gd._fullLayout; |
| 68 | var zoomLayer = fullLayout._zoomlayer; |
no test coverage detected
searching dependent graphs…