From a5043c0778677b9a39851135d49d1e2dc6624a74 Mon Sep 17 00:00:00 2001 From: Qijia Liu Date: Sun, 3 Mar 2024 21:09:40 -0500 Subject: [PATCH] lint --- page/customize.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/page/customize.ts b/page/customize.ts index 680abb2..c503e19 100644 --- a/page/customize.ts +++ b/page/customize.ts @@ -40,7 +40,7 @@ type STYLE_JSON = { PreeditFontSize: string } Cursor: { - Style: "Blink" | "Static" | "Text" + Style: 'Blink' | 'Static' | 'Text' Text: string } BorderWidth: string @@ -218,7 +218,7 @@ export function setStyle (style: string) { setFontFamily(rules[PREEDIT], j.Font.PreeditFontFamily) rules[PREEDIT]['font-size'] = px(j.Font.PreeditFontSize) // Cursor height should be the same with preedit - rules[CURSOR_NO_TEXT]['height'] = px(j.Font.PreeditFontSize) + rules[CURSOR_NO_TEXT].height = px(j.Font.PreeditFontSize) setBlink(j.Cursor.Style === 'Blink')