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/doubleTapToSeek", true);
|
||||||
settings.setValue("Appearance/scaleFactor", 2.2);
|
settings.setValue("Appearance/scaleFactor", 2.2);
|
||||||
settings.setValue("Appearance/subtitlesFontSize", 38);
|
settings.setValue("Appearance/subtitlesFontSize", 38);
|
||||||
settings.setValue("Appearance/uiFadeTimer", 2000);
|
settings.setValue("Appearance/uiFadeTimer", 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -401,7 +401,6 @@ Window {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onPositionChanged: {
|
onPositionChanged: {
|
||||||
//console.warn(mouseAreaPlayer.mapToItem(controlsBar, mouse.x, mouse.y).y)
|
|
||||||
if (mouseAreaPlayer.containsPress) {
|
if (mouseAreaPlayer.containsPress) {
|
||||||
var currVel = (mouse.x - xPrev)
|
var currVel = (mouse.x - xPrev)
|
||||||
velocity = (velocity + currVel) / 2.0
|
velocity = (velocity + currVel) / 2.0
|
||||||
|
@ -422,13 +421,15 @@ Window {
|
||||||
Timer {
|
Timer {
|
||||||
id: mouseAreaPlayerTimer
|
id: mouseAreaPlayerTimer
|
||||||
interval: appearance.uiFadeTimer
|
interval: appearance.uiFadeTimer
|
||||||
running: true
|
running: (! appearance.uiFadeTimer == 0)
|
||||||
repeat: false
|
repeat: false
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
|
if (! (appearance.uiFadeTimer == 0) ) {
|
||||||
globalConnections.hideUI()
|
globalConnections.hideUI()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
id: statsUpdater
|
id: statsUpdater
|
||||||
|
|
Loading…
Reference in a new issue