mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	fix zoomedAvatar resize and movement
This commit is contained in:
		| @@ -10251,15 +10251,6 @@ jQuery(async function () { | ||||
|                 $(`.zoomed_avatar[forChar="${charname}"] .dragClose`).hide(); | ||||
|             } | ||||
|  | ||||
|             $('.zoomed_avatar').on('mouseup', (e) => { | ||||
|                 if (e.target.closest('.drag-grabber') || e.button !== 0) { | ||||
|                     return; | ||||
|                 } | ||||
|                 $(`.zoomed_avatar[forChar="${charname}"]`).fadeOut(animation_duration, () => { | ||||
|                     $(`.zoomed_avatar[forChar="${charname}"]`).remove(); | ||||
|                 }); | ||||
|             }); | ||||
|  | ||||
|             $('.zoomed_avatar, .zoomed_avatar .dragClose').on('click touchend', (e) => { | ||||
|                 if (e.target.closest('.dragClose')) { | ||||
|                     $(`.zoomed_avatar[forChar="${charname}"]`).fadeOut(animation_duration, () => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user