display more slides in overview
This commit is contained in:
		
							
								
								
									
										10
									
								
								js/reveal.js
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								js/reveal.js
									
									
									
									
									
								
							| @@ -1593,15 +1593,11 @@ var Reveal = (function(){ | |||||||
|  |  | ||||||
| 			// The number of steps away from the present slide that will | 			// The number of steps away from the present slide that will | ||||||
| 			// be visible | 			// be visible | ||||||
| 			var viewDistance = config.viewDistance; | 			var viewDistance = isOverview() ? 20 : config.viewDistance; | ||||||
|  |  | ||||||
| 			// Heavily limited on weaker devices | 			// Limit view distance on weaker devices | ||||||
| 			if( isMobileDevice ) { | 			if( isMobileDevice ) { | ||||||
| 				viewDistance = 1; | 				viewDistance = isOverview() ? 6 : 1; | ||||||
| 			} |  | ||||||
|  |  | ||||||
| 			if( isOverview() ) { |  | ||||||
| 				viewDistance = 6; |  | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
| 			for( var x = 0; x < horizontalSlidesLength; x++ ) { | 			for( var x = 0; x < horizontalSlidesLength; x++ ) { | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								js/reveal.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								js/reveal.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user