From b1861193e51a154f631fc4b9875ccb3a6d0a3055 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 9 Dec 2016 18:13:47 +0100 Subject: [PATCH] launcher: remove vsync option from launcher since it can't be applied after the app's init (which happens when spawning the launcher) --- app/main/launcher/launcher.js | 2 ++ app/main/settings.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/main/launcher/launcher.js b/app/main/launcher/launcher.js index 4968a8c4..d55f7d90 100644 --- a/app/main/launcher/launcher.js +++ b/app/main/launcher/launcher.js @@ -22,6 +22,8 @@ $(document).ready(()=>{ $.each(settings.options, (i, option)=>{ + if (option.launcher === false) return + var wrapper = $(`
`), item = $(`
diff --git a/app/main/settings.js b/app/main/settings.js index 7f6d9453..2ab56433 100644 --- a/app/main/settings.js +++ b/app/main/settings.js @@ -49,7 +49,7 @@ var options = { true : 'examples can\'t be listed if --load is set' } }, - 'disable-vsync':{type:'boolean',describe:'disable gui\'s vertical synchronization'} + 'disable-vsync':{type:'boolean',describe:'disable gui\'s vertical synchronization', launcher: false} }