webapp/src/Flipper.js
function shouldAnimate () {
    // Don’t animate while dragging
    if (pointerIsDown) return false

    const finished = current === target && Math.abs(currentSpeed) < 0.5
    return !finished
  }
function shouldAnimate () {
    // Don’t animate while dragging
    if (pointerIsDown) return false

    const finished = current === target && Math.abs(currentSpeed) < 0.5
    return !finished
  }
function shouldAnimate ( ) { // Don’t animate while dragging if ( pointerIsDown ) return false const finished = current === target && Math . abs ( currentSpeed ) < 0.5 return ! finished }
Returns whether an animation should run.
Returns whether an animation should run .