From 1aec583e59f87c02b644d58b20ca4af5c1f5a25d Mon Sep 17 00:00:00 2001 From: aunetx Date: Sun, 25 Jul 2021 11:50:18 +0200 Subject: [PATCH] fixed #109 --- src/appfolders.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/appfolders.js b/src/appfolders.js index db59edd4..157b1089 100644 --- a/src/appfolders.js +++ b/src/appfolders.js @@ -185,12 +185,14 @@ var AppFoldersBlur = class AppFoldersBlur { set_sigma(s) { sigma = s; - this.blur_appfolders(); + if (this.prefs.BLUR_APPFOLDERS.get()) + this.blur_appfolders(); } set_brightness(b) { brightness = b; - this.blur_appfolders(); + if (this.prefs.BLUR_APPFOLDERS.get()) + this.blur_appfolders(); } disable() { @@ -215,7 +217,9 @@ var AppFoldersBlur = class AppFoldersBlur { } }); + this._log(`before: ${this.connections.buffer}`) this.connections.disconnect_all(); + this._log(`after: ${this.connections.buffer}`) } _log(str) {