mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Fix text corruption from unrounded pixel height
This commit is contained in:
parent
7a356f3832
commit
b82c11bd79
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ Popup {
|
||||||
id: roomTextInput
|
id: roomTextInput
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
font.pixelSize: quickSwitcher.textHeight * 0.6
|
font.pixelSize: Math.ceil(quickSwitcher.textHeight * 0.6)
|
||||||
padding: textMargin
|
padding: textMargin
|
||||||
color: colors.text
|
color: colors.text
|
||||||
|
|
||||||
|
@ -94,4 +94,4 @@ Popup {
|
||||||
timer.triggered.connect(cb);
|
timer.triggered.connect(cb);
|
||||||
timer.start();
|
timer.start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue