mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	QML UI: enable caching of the details view
This way the dive on either side should be cached. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									783f9ee565
								
							
						
					
					
						commit
						220d25588f
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -189,6 +189,7 @@ Kirigami.Page {
 | 
			
		|||
				highlightFollowsCurrentItem: true
 | 
			
		||||
				focus: true
 | 
			
		||||
				clip: false
 | 
			
		||||
				cacheBuffer: parent.width * 3 // cache one item on either side (this is in pixels)
 | 
			
		||||
				snapMode: ListView.SnapOneItem
 | 
			
		||||
				onMovementEnded: {
 | 
			
		||||
					currentIndex = indexAt(contentX+1, 1);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue