1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 16:32:33 +02:00

Add faster animation and shadow

This commit is contained in:
kelteseth 2017-11-21 16:15:16 +01:00
parent e345282324
commit 214bc0634b

View File

@ -158,12 +158,14 @@ Item {
name: "hover" name: "hover"
PropertyChanges { PropertyChanges {
target: screenPlayItemWrapper target: screenPlayItemWrapper
width: 330 width: 325
height:190 height:185
} }
PropertyChanges { PropertyChanges {
target: effect target: effect
opacity: 0.4 opacity: 0.6
width: 325
height:185
} }
PropertyChanges { PropertyChanges {
target: screenPlayItemWrapper target: screenPlayItemWrapper
@ -203,7 +205,12 @@ Item {
PropertyAnimation { PropertyAnimation {
target: screenPlayItemWrapper target: screenPlayItemWrapper
properties: "width,height" properties: "width,height"
duration: 100 duration: 80
}
PropertyAnimation {
target: effect
properties: "width,height,opacity"
duration: 80
} }
} }
] ]