changes
This commit is contained in:
@@ -177,7 +177,7 @@ PanelWindow {
|
|||||||
strokeColor: button.color ? Qt.hsla(
|
strokeColor: button.color ? Qt.hsla(
|
||||||
button.color.hslHue,
|
button.color.hslHue,
|
||||||
button.color.hslSaturation,
|
button.color.hslSaturation,
|
||||||
0.3, 1
|
0.35, 1
|
||||||
) : button.color
|
) : button.color
|
||||||
fillColor: "transparent"
|
fillColor: "transparent"
|
||||||
|
|
||||||
|
|||||||
21
Lock.qml
21
Lock.qml
@@ -80,6 +80,19 @@ WlSessionLock {
|
|||||||
width: surface.width
|
width: surface.width
|
||||||
height: surface.height
|
height: surface.height
|
||||||
fillMode: Image.PreserveAspectCrop
|
fillMode: Image.PreserveAspectCrop
|
||||||
|
transform: [
|
||||||
|
Scale {
|
||||||
|
origin {x: surface.width/2; y: surface.height/2}
|
||||||
|
xScale: 1.02
|
||||||
|
yScale: xScale
|
||||||
|
},
|
||||||
|
Translate {
|
||||||
|
x: (surfaceHover.point.position.x - surface.width/2) * 0.02
|
||||||
|
y: (surfaceHover.point.position.y - surface.height/2) * 0.02
|
||||||
|
OutQuint500 on x {}
|
||||||
|
OutQuint500 on y {}
|
||||||
|
}
|
||||||
|
]
|
||||||
Rectangle {
|
Rectangle {
|
||||||
color: "white"
|
color: "white"
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
@@ -125,9 +138,9 @@ WlSessionLock {
|
|||||||
z: -1
|
z: -1
|
||||||
blur: 12
|
blur: 12
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
ExitAnimation on opacity {}
|
ExitAnimation on opacity { duration: 600 }
|
||||||
}
|
}
|
||||||
ExitAnimation on height {}
|
ExitAnimation on height { duration: 600 }
|
||||||
}
|
}
|
||||||
Item {
|
Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
@@ -460,6 +473,10 @@ WlSessionLock {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HoverHandler {
|
||||||
|
id: surfaceHover
|
||||||
|
}
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
id: exitAnimation
|
id: exitAnimation
|
||||||
running: false
|
running: false
|
||||||
|
|||||||
Reference in New Issue
Block a user