Skip to content

Dead code in swipe recognizer #103

@c-smile

Description

@c-smile

I believe this

if (velocity < this.escapeVelocity) {

should be

for (var i = 0; i < output.data.length; i++) {
        if (output.data[i].velocity < this.escapeVelocity) {
          return null;
        }
      }

otherwise, it is useless.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions