calcDelta method

Offset calcDelta(
  1. Offset delta
)

计算拖拽增量,垂直拖拽 dx 必须为 0,水平拖拽 dy 必须为 0

Implementation

Offset calcDelta(Offset delta) => delta;