onDrag method

  1. @mustCallSuper
void onDrag(
  1. Vector2 globalDelta
)

Implementation

@mustCallSuper
void onDrag(Vector2 globalDelta) {
  if (hasPanel) {
    gameRef.overlays.remove(overlayName);
    gameRef.overlays.add(overlayName);
  }
  algorithm.afterDrag(vertex, globalDelta);
}