Skip to content

Commit

Permalink
fix: Page Up/Down symbol text size
Browse files Browse the repository at this point in the history
  • Loading branch information
nopdan authored and WhiredPlanck committed Apr 26, 2024
1 parent 18f384b commit fc8e3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/osfans/trime/ime/text/Candidate.kt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Candidate(context: Context?, attrs: AttributeSet?) : View(context, attrs)
private val symbolPaint =
Paint().apply {
typeface = symbolFont
theme.generalStyle.symbolTextSize.toFloat().takeIf { it > 0 }?.let { textSize = sp(it) }
theme.generalStyle.candidateTextSize.toFloat().takeIf { it > 0 }?.let { textSize = sp(it) }
isAntiAlias = true
strokeWidth = 0f
}
Expand Down

0 comments on commit fc8e3aa

Please sign in to comment.