mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
zoom for the attachment images
This commit is contained in:
@@ -168,7 +168,7 @@ export default class AttachmentDetailWidget extends BasicWidget {
|
||||
.text(`Role: ${this.attachment.role}, Size: ${utils.formatSize(this.attachment.contentLength)}`);
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user