Added option to turn off background auto magic

This commit is contained in:
n1474335 2018-08-03 20:18:19 +01:00
parent 53b92ae8ef
commit a947e06140
4 changed files with 13 additions and 3 deletions

View file

@ -423,6 +423,8 @@ class OutputWaiter {
*/
backgroundMagic() {
this.hideMagicButton();
if (!this.app.options.autoMagic) return;
const sample = this.dishStr ? this.dishStr.slice(0, 1000) :
this.dishBuffer ? this.dishBuffer.slice(0, 1000) : "";