Skip to content

Commit b2d4c14

Browse files
committed
Improve drawing of rewind button
Results in sharper vertical line.
1 parent 2d72f3f commit b2d4c14

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/prompter/Prompter.qml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,14 @@ Flickable {
858858
font.family: iconFont.name
859859
flat: true
860860
opacity: parseInt(prompter.state) !== Prompter.States.Prompting || prompter.__atEnd
861+
contentItem: Text {
862+
text: parent.text
863+
font: parent.font
864+
color: "white"
865+
renderType: Text.NativeRendering
866+
horizontalAlignment: Text.AlignHCenter
867+
verticalAlignment: Text.AlignVCenter
868+
}
861869
Behavior on opacity {
862870
enabled: true
863871
animation: OpacityAnimator {

0 commit comments

Comments
 (0)