Skip to content

Commit 2ab987f

Browse files
committed
Remove condition of attributes.{isShifed,inSymView} in font.pixelSize
1 parent 2138aa8 commit 2ab987f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/layouts/ja_10key_flick/TenKey_Flick.qml

+4-5
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,13 @@ KeyBase {
106106
font.family: Theme.fontFamily
107107
font.pixelSize: !pressed && symbolOnly
108108
? Theme.fontSizeExtraSmall
109-
: (!portraitMode || attributes.isShifted || attributes.inSymView
110-
|| !flickAssistConfig.value)
109+
: !portraitMode || !flickAssistConfig.value
111110
? Theme.fontSizeLarge
112-
: (flickerIndex > 0
111+
: flickerIndex > 0
113112
? Theme.fontSizeExtraLarge
114-
: (!pressed
113+
: !pressed
115114
? Theme.fontSizeMedium
116-
: Theme.fontSizeHuge))
115+
: Theme.fontSizeHuge
117116
font.letterSpacing: (portraitMode === true && !attributes.isShifted && !attributes.inSymView && symbolOnly && flickerText.length > 3) ? -10 : 0
118117
color: !pressed || (flickerIndex == 0 || currentText.charAt(flickerIndex) == "")
119118
? Theme.primaryColor

0 commit comments

Comments
 (0)