1
0
Fork 0

[UI] Made MouseArea for RoosterTeeth theme better.

This commit is contained in:
NamedKitten 2018-12-03 08:19:51 +00:00
parent f5581ab895
commit 228fe1d252
2 changed files with 1 additions and 3 deletions

View file

@ -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()
} }
} }

View file

@ -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 {