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.width: width
|
||||||
sourceSize.height: height
|
sourceSize.height: height
|
||||||
|
|
||||||
playing: session.sessionVisible
|
playing: visible
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
speed: 0.7
|
speed: 0.7
|
||||||
source: "root:/assets/kurukuru.gif"
|
source: "root:/assets/kurukuru.gif"
|
||||||
|
|
|
||||||
|
|
@ -11,14 +11,14 @@ Scope {
|
||||||
property int winHeight
|
property int winHeight
|
||||||
property bool sessionVisible
|
property bool sessionVisible
|
||||||
|
|
||||||
Connections {
|
// Connections {
|
||||||
target: Drawers
|
// target: Drawers
|
||||||
|
|
||||||
function onPosChanged(screen: ShellScreen, x: int, y: int): void {
|
// 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)
|
// if (x > screen.width - BorderConfig.thickness && y > (screen.height - root.winHeight) / 2 && y < (screen.height + root.winHeight) / 2)
|
||||||
root.sessionVisible = true;
|
// root.sessionVisible = true;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
LazyLoader {
|
LazyLoader {
|
||||||
loading: true
|
loading: true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue