mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	fix(tab-row): ensure similar behavior between horizontal/vertical scrolling
This commit is contained in:
		
							parent
							
								
									6508ef4fce
								
							
						
					
					
						commit
						ea1bce4e7b
					
				| @ -388,7 +388,7 @@ export default class TabRowWidget extends BasicWidget { | ||||
|         let pendingScroll = 0; | ||||
|         let isScrolling = false; | ||||
|         const stepScroll = () => { | ||||
|             if (Math.abs(pendingScroll) > 10) { | ||||
|             if (Math.abs(pendingScroll) > 5) { | ||||
|                 const step = Math.round(pendingScroll * 0.2); | ||||
|                 pendingScroll -= step; | ||||
|                 this.scrollTabContainer(step, "instant"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 SiriusXT
						SiriusXT