mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-20 02:04:01 -04:00
@@ -170,6 +170,22 @@ Item {
|
||||
radius: Theme.cornerRadiusL
|
||||
color: Theme.surfaceContainerLowest
|
||||
|
||||
StyledText {
|
||||
x: parent.width - width - Theme.spacingL
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
text: I18n.tr("Tap to play")
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
color: Theme.surfaceVariantText
|
||||
opacity: motionPreview.atEnd ? 0 : 1
|
||||
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: Theme.shortDuration
|
||||
easing.type: Theme.standardEasing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
x: motionPreview.trackPadding + pillSpring.value
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
@@ -187,15 +203,6 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
StyledText {
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: Theme.spacingL
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
text: I18n.tr("Tap to play")
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
color: Theme.surfaceVariantText
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
|
||||
Reference in New Issue
Block a user