ios: fix ios13 detection with chrome user agent (fixes scrolling)
This commit is contained in:
parent
92e46402ad
commit
d15bb0ea32
3 changed files with 5 additions and 3 deletions
|
|
@ -5,7 +5,8 @@
|
|||
- bug fixes
|
||||
- `alt+shift+c` not working when pressed before dragging
|
||||
- incremental pasting issue with address property
|
||||
- generate scrollbars for panels on iOS 13+
|
||||
- generate scrollbars for panels on iOS 13+
|
||||
- fix scrolling on chrome for iOS 13+
|
||||
|
||||
- editor
|
||||
- add `mod+d` and `mod+shift+d` for duplicating widgets
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "open-stage-control",
|
||||
"productName": "Open Stage Control",
|
||||
"description": "Libre and modular OSC / MIDI controller",
|
||||
"version": "1.8.13",
|
||||
"version": "1.8.14",
|
||||
"author": {
|
||||
"name": "Jean-Emmanuel Doucet",
|
||||
"email": "jean-emmanuel@ammd.net"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
// Prevent iOS Pull-To-Refresh
|
||||
|
||||
var iOS13 = (
|
||||
navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 // iPad
|
||||
navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 // safari iPad
|
||||
|| navigator.userAgent.match(/iPhone OS (1[3-9])/) // iPhone
|
||||
|| navigator.userAgent.match(/i(Pad|Phone); CPU OS 1[3-9]/) // chrome iPad
|
||||
) ? 13 : 0,
|
||||
iOS = iOS13 || navigator.platform.match(/iPhone|iPod|iPad/)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue