|
@@ -1530,13 +1530,20 @@
|
|
|
transformSlides( { layout: '' } );
|
|
|
}
|
|
|
else {
|
|
|
-
|
|
|
- if( !isMobileDevice && /chrome/i.test( navigator.userAgent ) && typeof dom.slides.style.zoom !== 'undefined' ) {
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ if( scale > 1 && !isMobileDevice && /chrome/i.test( navigator.userAgent ) && typeof dom.slides.style.zoom !== 'undefined' ) {
|
|
|
dom.slides.style.zoom = scale;
|
|
|
+ dom.slides.style.left = '';
|
|
|
+ dom.slides.style.top = '';
|
|
|
+ dom.slides.style.bottom = '';
|
|
|
+ dom.slides.style.right = '';
|
|
|
transformSlides( { layout: '' } );
|
|
|
}
|
|
|
|
|
|
else {
|
|
|
+ dom.slides.style.zoom = '';
|
|
|
dom.slides.style.left = '50%';
|
|
|
dom.slides.style.top = '50%';
|
|
|
dom.slides.style.bottom = 'auto';
|