Skip to content

Conversation

@maxschmeling
Copy link

I'm new to this library, but I had the issue of the user specified change method not being called. This seems to fix the issue.

I based the changed off of the code here:

        var touchMove = function (e) {
            var v = s.xy2val(
                        e.originalEvent.touches[s.t].pageX,
                        e.originalEvent.touches[s.t].pageY
                    );

            if (v == s.cv) return;

            if (s.cH && s.cH(v) === false) return;

            s.change(s._validate(v));
            s._draw();
        };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant