fix font bug

This commit is contained in:
Paddy Xu
2021-07-06 21:10:57 +02:00
parent 971285fc95
commit 28b9552dcd

View File

@@ -72,7 +72,8 @@ namespace QuickLook.Plugin.TextViewer
PreviewMouseWheel += Viewer_MouseWheel; PreviewMouseWheel += Viewer_MouseWheel;
FontFamily = new FontFamily(TranslationHelper.Get("Editor_FontFamily")); FontFamily = new FontFamily(TranslationHelper.Get("Editor_FontFamily",
domain: Assembly.GetExecutingAssembly().GetName().Name));
TextArea.TextView.ElementGenerators.Add(new TruncateLongLines()); TextArea.TextView.ElementGenerators.Add(new TruncateLongLines());