From 214bc0634b121592845b5f51bee48ab4772fa90d Mon Sep 17 00:00:00 2001 From: kelteseth Date: Tue, 21 Nov 2017 16:15:16 +0100 Subject: [PATCH] Add faster animation and shadow --- qml/Components/ScreenPlayItem.qml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/qml/Components/ScreenPlayItem.qml b/qml/Components/ScreenPlayItem.qml index c24c124c..e030cb32 100644 --- a/qml/Components/ScreenPlayItem.qml +++ b/qml/Components/ScreenPlayItem.qml @@ -158,12 +158,14 @@ Item { name: "hover" PropertyChanges { target: screenPlayItemWrapper - width: 330 - height:190 + width: 325 + height:185 } PropertyChanges { target: effect - opacity: 0.4 + opacity: 0.6 + width: 325 + height:185 } PropertyChanges { target: screenPlayItemWrapper @@ -203,7 +205,12 @@ Item { PropertyAnimation { target: screenPlayItemWrapper properties: "width,height" - duration: 100 + duration: 80 + } + PropertyAnimation { + target: effect + properties: "width,height,opacity" + duration: 80 } } ]