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