Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Track event x and y coordinates are undefined #87

Description

@ystreibel

Hi,

In debug mode on Chrome, in track.js file, they are :

gestureProto.x = inEvent.x; 
gestureProto.y = inEvent.y;

but the inEvent hasn't got x and y properties.

I think to correct this is to change by

gestureProto.x = inEvent.clientX; 
gestureProto.y = inEvent.clientY;

Are you agree with that ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions