Fix text corruption from unrounded pixel height

This commit is contained in:
Nicolas Werner 2021-03-13 23:52:46 +01:00
parent 7a356f3832
commit b82c11bd79
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -24,7 +24,7 @@ Popup {
id: roomTextInput
anchors.fill: parent
font.pixelSize: quickSwitcher.textHeight * 0.6
font.pixelSize: Math.ceil(quickSwitcher.textHeight * 0.6)
padding: textMargin
color: colors.text