1
0
Fork 0

Change default settings.

This commit is contained in:
namedkitten 2020-04-23 17:09:52 +01:00
parent 0dba1c9146
commit 95c083e520
2 changed files with 9 additions and 3 deletions

View file

@ -117,6 +117,11 @@ main(int argc, char* argv[])
if (fread(buf, 1, sizeof (buf), fd) > 0)
launcherLogger->info("Running on sunxi, switching to NoFBO.");
settings.setValue("Backend/fbo", false);
settings.setValue("Appearance/clickToPause", false);
settings.setValue("Appearance/doubleTapToSeek", true);
settings.setValue("Appearance/scaleFactor", 2.2);
settings.setValue("Appearance/subtitlesFontSize", 38);
settings.setValue("Appearance/uiFadeTimer", 2000);
}
#endif

View file

@ -66,15 +66,16 @@ Window {
id: appearance
category: "Appearance"
property bool titleOnlyOnFullscreen: true
property bool clickToPause: true
property bool clickToPause: false
property bool useMpvSubs: false
property string themeName: "YouTube"
property string fontName: "Roboto"
property double scaleFactor: 1.0
property int subtitlesFontSize: 18
property int subtitlesFontSize: 24
property int uiFadeTimer: 1000
property bool doubleTapToSeek: false
property bool doubleTapToSeek: true
property double doubleTapToSeekBy: 5
// Can fix some screen tearing on some devices.
property bool maximizeInsteadOfFullscreen: false
}