Browse Source

fix slide transitions in iOS

Hakim El Hattab 11 năm trước cách đây
mục cha
commit
fa2413ec73
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      js/reveal.js

+ 1 - 1
js/reveal.js

@@ -2026,7 +2026,7 @@
 
 			// Limit view distance on weaker devices
 			if( isMobileDevice ) {
-				viewDistance = isOverview() ? 6 : 1;
+				viewDistance = isOverview() ? 6 : 2;
 			}
 
 			// Limit view distance on weaker devices