mirror of
				https://github.com/KoboldAI/KoboldAI-Client.git
				synced 2025-06-05 21:59:24 +02:00 
			
		
		
		
	Stop all animations before performing scroll-to-bottom
So that if the animation is triggered multiple times you don't have to wait for all the animations to be performed one after the other before you can finally manually scroll.
This commit is contained in:
		| @@ -402,7 +402,7 @@ function hideWaitAnimation() { | ||||
|  | ||||
| function scrollToBottom() { | ||||
| 	setTimeout(function () { | ||||
| 		game_text.animate({scrollTop: game_text.prop('scrollHeight')}, 500); | ||||
| 		game_text.stop(true).animate({scrollTop: game_text.prop('scrollHeight')}, 500); | ||||
| 	}, 5); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Gnome Ann
					Gnome Ann