From b82c11bd791d5cb4d3ddb9b01305e215d6385cff Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 13 Mar 2021 23:52:46 +0100 Subject: [PATCH] Fix text corruption from unrounded pixel height --- resources/qml/QuickSwitcher.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/QuickSwitcher.qml b/resources/qml/QuickSwitcher.qml index 29d9a9b2..88903163 100644 --- a/resources/qml/QuickSwitcher.qml +++ b/resources/qml/QuickSwitcher.qml @@ -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 @@ -94,4 +94,4 @@ Popup { timer.triggered.connect(cb); timer.start(); } -} \ No newline at end of file +}