[UI] Made cursor hide along with controls.
This commit is contained in:
parent
22003de3d3
commit
d66cedb2b8
|
@ -140,6 +140,7 @@ ApplicationWindow {
|
|||
titleBar.visible = false
|
||||
titleBackground.visible = false
|
||||
menuBar.visible = false
|
||||
mouseAreaPlayer.cursorShape = Qt.BlankCursor
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -156,6 +157,7 @@ ApplicationWindow {
|
|||
}
|
||||
titleBackground.visible = true
|
||||
menuBar.visible = true
|
||||
mouseAreaPlayer.cursorShape = Qt.ArrowCursor
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -187,7 +189,6 @@ ApplicationWindow {
|
|||
anchors.top: titleBar.bottom
|
||||
anchors.topMargin: 0
|
||||
hoverEnabled: true
|
||||
cursorShape: controlsBar.visible ? Qt.ArrowCursor : Qt.BlankCursor
|
||||
onClicked: {
|
||||
if (appearance.clickToPause) {
|
||||
player.playerCommand(Enums.Commands.TogglePlayPause)
|
||||
|
|
Loading…
Reference in a new issue