mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	zoom for the attachment images
This commit is contained in:
		
							parent
							
								
									5f6fded833
								
							
						
					
					
						commit
						ff6f2a4d44
					
				| @ -168,7 +168,7 @@ export default class AttachmentDetailWidget extends BasicWidget { | |||||||
|             .text(`Role: ${this.attachment.role}, Size: ${utils.formatSize(this.attachment.contentLength)}`); |             .text(`Role: ${this.attachment.role}, Size: ${utils.formatSize(this.attachment.contentLength)}`); | ||||||
|         this.$wrapper.find('.attachment-actions-container').append(this.attachmentActionsWidget.render()); |         this.$wrapper.find('.attachment-actions-container').append(this.attachmentActionsWidget.render()); | ||||||
| 
 | 
 | ||||||
|         const {$renderedContent} = await contentRenderer.getRenderedContent(this.attachment, { imageHasZoom: true }); |         const {$renderedContent} = await contentRenderer.getRenderedContent(this.attachment, { imageHasZoom: this.isFullDetail }); | ||||||
|         this.$wrapper.find('.attachment-content-wrapper').append($renderedContent); |         this.$wrapper.find('.attachment-content-wrapper').append($renderedContent); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam