changes
This commit is contained in:
@@ -177,7 +177,7 @@ PanelWindow {
|
||||
strokeColor: button.color ? Qt.hsla(
|
||||
button.color.hslHue,
|
||||
button.color.hslSaturation,
|
||||
0.3, 1
|
||||
0.35, 1
|
||||
) : button.color
|
||||
fillColor: "transparent"
|
||||
|
||||
|
||||
21
Lock.qml
21
Lock.qml
@@ -80,6 +80,19 @@ WlSessionLock {
|
||||
width: surface.width
|
||||
height: surface.height
|
||||
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 {
|
||||
color: "white"
|
||||
anchors.fill: parent
|
||||
@@ -125,9 +138,9 @@ WlSessionLock {
|
||||
z: -1
|
||||
blur: 12
|
||||
opacity: 0.6
|
||||
ExitAnimation on opacity {}
|
||||
ExitAnimation on opacity { duration: 600 }
|
||||
}
|
||||
ExitAnimation on height {}
|
||||
ExitAnimation on height { duration: 600 }
|
||||
}
|
||||
Item {
|
||||
anchors.fill: parent
|
||||
@@ -460,6 +473,10 @@ WlSessionLock {
|
||||
|
||||
}
|
||||
|
||||
HoverHandler {
|
||||
id: surfaceHover
|
||||
}
|
||||
|
||||
Timer {
|
||||
id: exitAnimation
|
||||
running: false
|
||||
|
||||
Reference in New Issue
Block a user