[UI] Made MouseArea for RoosterTeeth theme better.
This commit is contained in:
parent
f5581ab895
commit
228fe1d252
|
@ -33,12 +33,10 @@ Item {
|
||||||
acceptedButtons: Qt.NoButton
|
acceptedButtons: Qt.NoButton
|
||||||
|
|
||||||
onEntered: {
|
onEntered: {
|
||||||
volumeSliderArea.visible = true
|
|
||||||
mouseAreaPlayerTimer.stop()
|
mouseAreaPlayerTimer.stop()
|
||||||
}
|
}
|
||||||
|
|
||||||
onExited: {
|
onExited: {
|
||||||
volumeSliderArea.visible = false
|
|
||||||
mouseAreaPlayerTimer.restart()
|
mouseAreaPlayerTimer.restart()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ import player 1.0
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: volumeSliderArea
|
id: volumeSliderArea
|
||||||
height: 70
|
height: visible ? 70 : 0
|
||||||
color: getAppearanceValueForTheme(appearance.themeName, "mainBackground")
|
color: getAppearanceValueForTheme(appearance.themeName, "mainBackground")
|
||||||
visible: false
|
visible: false
|
||||||
Slider {
|
Slider {
|
||||||
|
|
Loading…
Reference in a new issue