Mobile.
This commit is contained in:
parent
6eb6c21688
commit
fba2380eee
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue