1
0
Fork 0
This commit is contained in:
namedkitten 2020-04-29 11:13:55 +01:00
parent 6eb6c21688
commit fba2380eee
2 changed files with 5 additions and 4 deletions

View file

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

View file

@ -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,13 +421,15 @@ Window {
Timer {
id: mouseAreaPlayerTimer
interval: appearance.uiFadeTimer
running: true
running: (! appearance.uiFadeTimer == 0)
repeat: false
onTriggered: {
if (! (appearance.uiFadeTimer == 0) ) {
globalConnections.hideUI()
}
}
}
}
Timer {
id: statsUpdater