From 577a46511c8efd6645ed07013e68337407a545fa Mon Sep 17 00:00:00 2001 From: Kitteh Date: Fri, 26 Oct 2018 19:35:04 +0100 Subject: [PATCH] [UI] Fix controlsBackground when nyancat mode is on. --- src/qml/main.qml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/qml/main.qml b/src/qml/main.qml index dee6046..53910d6 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -814,7 +814,7 @@ ApplicationWindow { Rectangle { id: controlsBackground - height: controlsBar.visible ? controlsBar.height + (progressBar.topPadding * 2) + height: controlsBar.visible ? controlsBar.height + progressBackground.height + (progressBar.topPadding * 2) - (progressBackground.height * 2): 0 anchors.bottom: parent.bottom anchors.left: parent.left @@ -927,7 +927,6 @@ ApplicationWindow { anchors.bottomMargin: 0 anchors.topMargin: progressBackground.height + handleRect.height bottomPadding: 0 - z: 10 onMoved: { player.command(["seek", progressBar.value, "absolute"]) @@ -986,7 +985,7 @@ ApplicationWindow { } Rectangle { id: cachedLength - z: 100 + z: 10 anchors.left: progressLength.right anchors.leftMargin: progressBar.handle.width / 2 //anchors.left: progressBar.handle.horizontalCenter @@ -1009,10 +1008,9 @@ ApplicationWindow { color: fun.nyanCat ? "transparent" : "red" //border.color: "red" AnimatedImage { - z: 100 visible: fun.nyanCat paused: progressBar.pressed - height: 24 + height: 30 id: nyanimation anchors.centerIn: parent source: "qrc:/player/icons/nyancat.gif"