tweaks and updated docs for #2627
This commit is contained in:
parent
98a6d1de6b
commit
9a2160536d
3 changed files with 16 additions and 17 deletions
|
@ -10,6 +10,6 @@ export const isAndroid = /android/gi.test( UA );
|
|||
|
||||
// Flags if we should use zoom instead of transform to scale
|
||||
// up slides. Zoom produces crisper results but has a lot of
|
||||
// xbrowser quirks so we only use it in whitelsited browsers.
|
||||
// xbrowser quirks so we only use it in whitelisted browsers.
|
||||
export const supportsZoom = 'zoom' in testElement.style && !isMobile &&
|
||||
( isChrome || /Version\/[\d\.]+.*Safari/.test( UA ) );
|
Loading…
Add table
Add a link
Reference in a new issue