From 7e93b4afa17345502f82e0b063cf09304c5464d6 Mon Sep 17 00:00:00 2001 From: chlorospingus Date: Sun, 4 Jan 2026 16:52:46 -0800 Subject: [PATCH] changes --- Launcher.qml | 2 +- Lock.qml | 21 +++++++++++++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/Launcher.qml b/Launcher.qml index cc9c772..6a81afe 100644 --- a/Launcher.qml +++ b/Launcher.qml @@ -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" diff --git a/Lock.qml b/Lock.qml index 0122401..c5be69a 100644 --- a/Lock.qml +++ b/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