Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Touch pan and zoom for non-apple #132

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Touch pan and zoom for non-apple #132

wants to merge 8 commits into from

Conversation

xko
Copy link

@xko xko commented Feb 11, 2023

This is based on #83 . @SteveALee said he's out of reach now, so I created new PR directly from my fork. If this is accepted, #83 can be closed.

html/js/pedalboard.js Outdated Show resolved Hide resolved
@@ -811,34 +811,43 @@ JqueryClass('pedalboard', {

// Moves the viewable area of the pedalboard
drag: function (start) {
Copy link
Author

@xko xko Feb 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can also handle gesturestart and gesturechage here and remove initGestures, but I don't have apple device to test this

@falkTX
Copy link
Member

falkTX commented Feb 14, 2023

There are some changes here that make use of new JS features, creating a mismatch of code style.
While outdated by now, please keep the use of var, which also minimizes the amount of lines changed.

@xko xko requested a review from falkTX February 26, 2023 21:00
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.

3 participants