session: disable show on hover

This commit is contained in:
2 * r + 2 * t 2025-05-12 13:35:47 +10:00
parent 484478b5b3
commit 5ca283f43b
2 changed files with 8 additions and 8 deletions

View file

@ -53,7 +53,7 @@ Column {
sourceSize.width: width
sourceSize.height: height
playing: session.sessionVisible
playing: visible
asynchronous: true
speed: 0.7
source: "root:/assets/kurukuru.gif"

View file

@ -11,14 +11,14 @@ Scope {
property int winHeight
property bool sessionVisible
Connections {
target: Drawers
// Connections {
// target: Drawers
function onPosChanged(screen: ShellScreen, x: int, y: int): void {
if (x > screen.width - BorderConfig.thickness && y > (screen.height - root.winHeight) / 2 && y < (screen.height + root.winHeight) / 2)
root.sessionVisible = true;
}
}
// function onPosChanged(screen: ShellScreen, x: int, y: int): void {
// if (x > screen.width - BorderConfig.thickness && y > (screen.height - root.winHeight) / 2 && y < (screen.height + root.winHeight) / 2)
// root.sessionVisible = true;
// }
// }
LazyLoader {
loading: true