(offsetVec)
| 504 | } |
| 505 | var halfDistance = distance / 2; |
| 506 | function scaleByHalfDistance(offsetVec) { |
| 507 | var magnitude = offsetVec.magnitude(); |
| 508 | offsetVec.scale(magnitude ? (magnitude - halfDistance) / magnitude : 0); |
| 509 | } |
| 510 | bot.action.multiTouchAction_(element, |
| 511 | startSoThatEndsAtMax, |
| 512 | scaleByHalfDistance, |
nothing calls this directly
no outgoing calls
no test coverage detected