ios: fix scrolling for ios 14+

This commit is contained in:
bordun 2020-09-02 12:27:36 +02:00
parent d8dabdf727
commit c7c39d1f2f
3 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,9 @@
# Changelog
## next
## 1.1.0
- bug fixes
- iOS 14+ scrolling issue
- midi
- add support for channel pressure and key pressure messages

View file

@ -2,7 +2,7 @@
"name": "open-stage-control",
"productName": "Open Stage Control",
"description": "Libre and modular OSC / MIDI controller",
"version": "1.0.4",
"version": "1.1.0",
"author": {
"name": "Jean-Emmanuel Doucet",
"email": "jean-emmanuel@ammd.net"

View file

@ -2,7 +2,7 @@
var iOS13 = (
navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 // iPad
|| navigator.userAgent.match(/iPhone OS 13/) // iPhone
|| navigator.userAgent.match(/iPhone OS (1[3-9])/) // iPhone
),
iOS = navigator.platform.match(/iPhone|iPod|iPad/) || iOS13