diff --git a/src/main.cpp b/src/main.cpp index c5886b4..41c5a08 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -128,7 +128,7 @@ main(int argc, char* argv[]) settings.setValue("Appearance/doubleTapToSeek", true); settings.setValue("Appearance/scaleFactor", 2.2); settings.setValue("Appearance/subtitlesFontSize", 38); - settings.setValue("Appearance/uiFadeTimer", 2000); + settings.setValue("Appearance/uiFadeTimer", 0); } } diff --git a/src/qml/main.qml b/src/qml/main.qml index ccb0dee..5e2ff05 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -401,7 +401,6 @@ Window { } } onPositionChanged: { - //console.warn(mouseAreaPlayer.mapToItem(controlsBar, mouse.x, mouse.y).y) if (mouseAreaPlayer.containsPress) { var currVel = (mouse.x - xPrev) velocity = (velocity + currVel) / 2.0 @@ -422,10 +421,12 @@ Window { Timer { id: mouseAreaPlayerTimer interval: appearance.uiFadeTimer - running: true + running: (! appearance.uiFadeTimer == 0) repeat: false onTriggered: { - globalConnections.hideUI() + if (! (appearance.uiFadeTimer == 0) ) { + globalConnections.hideUI() + } } } }