fix multimonitor corners
This commit is contained in:
62
Wall.qml
62
Wall.qml
@@ -28,37 +28,37 @@ Variants {
|
||||
anchors.fill: parent
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
}
|
||||
radius: 40
|
||||
PropertyAnimation on radius {
|
||||
id: radiusAnimation
|
||||
running: false
|
||||
to: 16
|
||||
duration: 1000
|
||||
}
|
||||
transform: [
|
||||
Translate {
|
||||
y: 160
|
||||
PropertyAnimation on y {
|
||||
duration: 500
|
||||
to: 0
|
||||
easing.type: Easing.OutCubic
|
||||
onFinished: scaleAnimation.start()
|
||||
}
|
||||
},
|
||||
Scale {
|
||||
origin { x: width/2; y: height/2 }
|
||||
xScale: 0.8
|
||||
yScale: xScale
|
||||
PropertyAnimation on xScale {
|
||||
id: scaleAnimation
|
||||
running: false
|
||||
duration: 1000
|
||||
to: 1
|
||||
easing.type: Easing.InOutCubic
|
||||
onStarted: radiusAnimation.start()
|
||||
}
|
||||
}
|
||||
]
|
||||
radius: 16
|
||||
// PropertyAnimation on radius {
|
||||
// id: radiusAnimation
|
||||
// running: false
|
||||
// to: 16
|
||||
// duration: 1000
|
||||
// }
|
||||
// transform: [
|
||||
// Translate {
|
||||
// y: 160
|
||||
// PropertyAnimation on y {
|
||||
// duration: 500
|
||||
// to: 0
|
||||
// easing.type: Easing.OutCubic
|
||||
// onFinished: scaleAnimation.start()
|
||||
// }
|
||||
// },
|
||||
// Scale {
|
||||
// origin { x: width/2; y: height/2 }
|
||||
// xScale: 0.8
|
||||
// yScale: xScale
|
||||
// PropertyAnimation on xScale {
|
||||
// id: scaleAnimation
|
||||
// running: false
|
||||
// duration: 1000
|
||||
// to: 1
|
||||
// easing.type: Easing.InOutCubic
|
||||
// onStarted: radiusAnimation.start()
|
||||
// }
|
||||
// }
|
||||
// ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user