From 742ecb148a62504e0322e529181152bb6ded5bcf Mon Sep 17 00:00:00 2001 From: Michael Babienco Date: Thu, 12 Mar 2026 19:07:25 +0900 Subject: [PATCH] Simply if statement --- src/ViewModels/MainViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ViewModels/MainViewModel.cs b/src/ViewModels/MainViewModel.cs index 861fbb4..267693d 100644 --- a/src/ViewModels/MainViewModel.cs +++ b/src/ViewModels/MainViewModel.cs @@ -777,7 +777,7 @@ class MainViewModel : BaseViewModel, IFontResolver, ICanCheckShutdown paragraph.Format.Alignment = ParagraphAlignment.Center; var image = paragraph.AddImage(filePath); image.LockAspectRatio = true; - if (!isPDF && loadedImageHeight > 600) + if (loadedImageHeight > 600) { image.Height = 550; // make sure it will fit on one page }