summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-03-13 23:52:46 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-13 23:52:46 +0100
commitb82c11bd791d5cb4d3ddb9b01305e215d6385cff (patch)
tree7adeb39d58aa92fd362addf976e327231eca188e
parentMerge branch 'quickswitcher_qml' of git://github.com/Jedi18/nheko into Jedi18... (diff)
downloadnheko-b82c11bd791d5cb4d3ddb9b01305e215d6385cff.tar.xz
Fix text corruption from unrounded pixel height
-rw-r--r--resources/qml/QuickSwitcher.qml4
1 files 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 +}