1
0
Fork 0

[UI] Made cursor hide along with controls.

This commit is contained in:
NamedKitten 2018-11-17 19:48:00 +00:00
parent 22003de3d3
commit d66cedb2b8

View file

@ -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)