From 95407db6011825477a1a943ad959f1c04d338018 Mon Sep 17 00:00:00 2001 From: LEO Yoon-Tsaw Date: Sat, 22 Apr 2023 15:57:26 -0400 Subject: [PATCH] apply line spacing to preedit text as well --- SquirrelPanel.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SquirrelPanel.m b/SquirrelPanel.m index 5fac66a21..7e51fef31 100644 --- a/SquirrelPanel.m +++ b/SquirrelPanel.m @@ -1902,6 +1902,7 @@ +(void)updateTheme:(SquirrelTheme *)theme withConfig:(SquirrelConfig *)config fo NSMutableParagraphStyle *preeditParagraphStyle = [[NSParagraphStyle defaultParagraphStyle] mutableCopy]; preeditParagraphStyle.paragraphSpacing = spacing / 2 + hilitedCornerRadius / 2; + preeditParagraphStyle.lineSpacing = lineSpacing; NSMutableDictionary *attrs = [theme.attrs mutableCopy]; NSMutableDictionary *highlightedAttrs = [theme.highlightedAttrs mutableCopy];