@@ -116,22 +116,22 @@ final class SquirrelTheme {
116
116
private( set) lazy var labelAttrs : [ NSAttributedString . Key : Any ] = [
117
117
. foregroundColor: candidateLabelColor ?? blendColor ( foregroundColor: self . candidateTextColor, backgroundColor: self . backgroundColor) ,
118
118
. font: labelFont,
119
- . baselineOffset: baseOffset + ( !vertical ? ( font. pointSize - labelFont. pointSize) / 2 : 0 )
119
+ . baselineOffset: baseOffset + ( !vertical ? ( font. pointSize - labelFont. pointSize) / 2.5 : 0 )
120
120
]
121
121
private( set) lazy var labelHighlightedAttrs : [ NSAttributedString . Key : Any ] = [
122
122
. foregroundColor: highlightedCandidateLabelColor ?? blendColor ( foregroundColor: highlightedCandidateTextColor, backgroundColor: highlightedBackColor) ,
123
123
. font: labelFont,
124
- . baselineOffset: baseOffset + ( !vertical ? ( font. pointSize - labelFont. pointSize) / 2 : 0 )
124
+ . baselineOffset: baseOffset + ( !vertical ? ( font. pointSize - labelFont. pointSize) / 2.5 : 0 )
125
125
]
126
126
private( set) lazy var commentAttrs : [ NSAttributedString . Key : Any ] = [
127
127
. foregroundColor: commentTextColor ?? candidateTextColor,
128
128
. font: commentFont,
129
- . baselineOffset: baseOffset + ( !vertical ? ( font. pointSize - commentFont. pointSize) / 2 : 0 )
129
+ . baselineOffset: baseOffset + ( !vertical ? ( font. pointSize - commentFont. pointSize) / 2.5 : 0 )
130
130
]
131
131
private( set) lazy var commentHighlightedAttrs : [ NSAttributedString . Key : Any ] = [
132
132
. foregroundColor: highlightedCommentTextColor ?? highlightedCandidateTextColor,
133
133
. font: commentFont,
134
- . baselineOffset: baseOffset + ( !vertical ? ( font. pointSize - commentFont. pointSize) / 2 : 0 )
134
+ . baselineOffset: baseOffset + ( !vertical ? ( font. pointSize - commentFont. pointSize) / 2.5 : 0 )
135
135
]
136
136
private( set) lazy var preeditAttrs : [ NSAttributedString . Key : Any ] = [
137
137
. foregroundColor: textColor,
0 commit comments