From 228fe1d252687e37c42f4995eb16e824f136bfc0 Mon Sep 17 00:00:00 2001 From: NamedKitten Date: Mon, 3 Dec 2018 08:19:51 +0000 Subject: [PATCH] [UI] Made MouseArea for RoosterTeeth theme better. --- src/qml/RoosterTeethButtonLayout.qml | 2 -- src/qml/UIComponents/VerticalVolume.qml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/qml/RoosterTeethButtonLayout.qml b/src/qml/RoosterTeethButtonLayout.qml index 85c5dc8..d2758dc 100644 --- a/src/qml/RoosterTeethButtonLayout.qml +++ b/src/qml/RoosterTeethButtonLayout.qml @@ -33,12 +33,10 @@ Item { acceptedButtons: Qt.NoButton onEntered: { - volumeSliderArea.visible = true mouseAreaPlayerTimer.stop() } onExited: { - volumeSliderArea.visible = false mouseAreaPlayerTimer.restart() } } diff --git a/src/qml/UIComponents/VerticalVolume.qml b/src/qml/UIComponents/VerticalVolume.qml index b31c12e..aaeb98f 100644 --- a/src/qml/UIComponents/VerticalVolume.qml +++ b/src/qml/UIComponents/VerticalVolume.qml @@ -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 {