mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05:00 
			
		
		
		
	fix(mobile): pinch to zoom + move acceleration (#18569)
Fix pinch to zoom + move acceleration
This commit is contained in:
		
							parent
							
								
									4743a085f1
								
							
						
					
					
						commit
						40e7b58ba4
					
				@ -169,7 +169,7 @@ class PhotoViewCoreState extends State<PhotoViewCore>
 | 
			
		||||
      scale: newScale,
 | 
			
		||||
      position: widget.enablePanAlways
 | 
			
		||||
          ? delta
 | 
			
		||||
          : clampPosition(position: delta * details.scale),
 | 
			
		||||
          : clampPosition(position: delta, scale: details.scale),
 | 
			
		||||
      rotation:
 | 
			
		||||
          widget.enableRotation ? _rotationBefore! + details.rotation : null,
 | 
			
		||||
      rotationFocusPoint: widget.enableRotation ? details.focalPoint : null,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user