From d66cedb2b8bd593b1d882c1d92928d4ad40e1a69 Mon Sep 17 00:00:00 2001 From: NamedKitten Date: Sat, 17 Nov 2018 19:48:00 +0000 Subject: [PATCH] [UI] Made cursor hide along with controls. --- src/qml/main.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qml/main.qml b/src/qml/main.qml index ef59877..3a7fd04 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -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)