diff --git a/src/ext/conf/ExtensionConf.js b/src/ext/conf/ExtensionConf.js index 349a5d3..11be0d2 100644 --- a/src/ext/conf/ExtensionConf.js +++ b/src/ext/conf/ExtensionConf.js @@ -16,7 +16,7 @@ var ExtensionConf = { // Any more and we don't adjust ar. allowedArVariance: 0.075, // amount by which old ar can differ from the new (1 = 100%) timers: { // autodetection frequency - playing: 666, // while playing + playing: 333, // while playing paused: 3000, // while paused error: 3000, // after error minimumTimeout: 5, diff --git a/src/options/AutodetectionSettings.vue b/src/options/AutodetectionSettings.vue index ced9995..55121bf 100644 --- a/src/options/AutodetectionSettings.vue +++ b/src/options/AutodetectionSettings.vue @@ -535,6 +535,17 @@ + +
@@ -604,7 +615,23 @@ export default { } this.sensitivity = this.getSensitivity(); - } + }, + saveManual(){ + this.settings.save(); + // this.parsedSettings = JSON.stringify(this.settings.active, null, 2); + // this.lastSettings = JSON.parse(JSON.stringify(this.settings.active)); + const ths = this; + this.$nextTick( () => { + ths.parsedSettings = JSON.stringify(ths.lastSettings, null, 2) + ths.lastSettings = JSON.parse(JSON.stringify(ths.settings.active)) + }); + }, + cancel(){ + this.parsedSettings = ''; + this.settings.rollback(); + const ths = this; + this.$nextTick( () => ths.parsedSettings = JSON.stringify(ths.lastSettings, null, 2) ); + } } } diff --git a/src/options/SuperAdvancedSettings.vue b/src/options/SuperAdvancedSettings.vue index 0e9b848..5b4c3ba 100644 --- a/src/options/SuperAdvancedSettings.vue +++ b/src/options/SuperAdvancedSettings.vue @@ -16,7 +16,9 @@ contenteditable="true" @input="updateSettings" >{{parsedSettings}} -