session: disable show on hover
This commit is contained in:
parent
484478b5b3
commit
5ca283f43b
2 changed files with 8 additions and 8 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue