Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

tolerance option need to discuss #301

Open
icai opened this issue Dec 12, 2020 · 0 comments
Open

tolerance option need to discuss #301

icai opened this issue Dec 12, 2020 · 0 comments

Comments

@icai
Copy link

icai commented Dec 12, 2020

image

must draw a ratio(h/w > ??) rectangle to open the slidemenu.

        rect.w = (e.pageX - this.offsetLeft) - rect.startX;
        rect.h = (e.pageY - this.offsetTop) - rect.startY;
        ratio = rect.h /rect.w > ?? && Math.abs(self._currentOffsetX) > self._tolerance


@icai icai changed the title tolerance options need to discuss tolerance option need to discuss Dec 12, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant