onPointerCancel method

dynamic onPointerCancel()

Implementation

onPointerCancel() {
  if (scope.enabled == false) return;

  if (_selected != null) {
    scope.dispatchEvent(Event({'type': 'dragend', 'object': _selected}));

    _selected = null;
  }

  // _domElement.style.cursor = _hovered ? 'pointer' : 'auto';
}