📝 Add some more comments

This commit is contained in:
Simon Schneegans
2022-01-10 05:41:10 +01:00
parent 3e61368087
commit 871cb8489f
6 changed files with 67 additions and 16 deletions
+2 -2
View File
@@ -115,9 +115,9 @@ var PreferencesDialog = class PreferencesDialog {
ALL_EFFECTS.forEach(Effect => {
const [minMajor, minMinor] = Effect.getMinShellVersion();
if (utils.shellVersionIsAtLeast(minMajor, minMinor)) {
const prefix = Effect.getSettingsPrefix();
const nick = Effect.getNick();
const label = Effect.getLabel();
const actionName = prefix + '-close-effect';
const actionName = nick + '-close-effect';
const fullName = 'close-effects.' + actionName;
const action = this._settings.create_action(actionName);