Try out a snappier spring
This commit is contained in:
		
					parent
					
						
							
								f540f48461
							
						
					
				
			
			
				commit
				
					
						e3081c1c06
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -477,6 +477,7 @@ export const NewVideoGrid: FC<Props> = ({ | ||||||
|       enter: { opacity: 1, scale: 1 }, |       enter: { opacity: 1, scale: 1 }, | ||||||
|       update: ({ x, y, width, height }: Tile) => ({ x, y, width, height }), |       update: ({ x, y, width, height }: Tile) => ({ x, y, width, height }), | ||||||
|       leave: { opacity: 0, scale: 0 }, |       leave: { opacity: 0, scale: 0 }, | ||||||
|  |       config: { mass: 0.7, tension: 252, friction: 25 }, | ||||||
|       immediate: (key: string) => |       immediate: (key: string) => | ||||||
|         disableAnimations || key === "zIndex" || key === "shadow", |         disableAnimations || key === "zIndex" || key === "shadow", | ||||||
|       // If we just stopped dragging a tile, give it time for the
 |       // If we just stopped dragging a tile, give it time for the
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue