We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f431a7 + bf42214 commit 11e2ec6Copy full SHA for 11e2ec6
src/tabs/presets/TitlePanel/PresetTitlePanel.js
@@ -9,6 +9,7 @@ class PresetTitlePanel
9
this._onLoadedCallback = onLoadedCallback;
10
this._domId = `preset_title_panel_${PresetTitlePanel.s_panelCounter}`;
11
this._preset = preset;
12
+ this._clickable = clickable;
13
14
this._parentDiv.append(`<div class="${this._domId}"></div>`);
15
this._domWrapperDiv = $(`.${this._domId}`);
@@ -41,6 +42,10 @@ class PresetTitlePanel
41
42
}
43
44
setPicked(isPicked) {
45
+ if (!this._clickable) {
46
+ return;
47
+ }
48
+
49
this._preset.isPicked = isPicked;
50
51
if (isPicked) {
0 commit comments