From bf422146f588df1db2cdfa91ddfda7e8c3cf750a Mon Sep 17 00:00:00 2001 From: Ivan Efimov Date: Sat, 27 Nov 2021 01:11:19 -0600 Subject: [PATCH] Presets: fix border of the preset title in the detailed dialog --- src/tabs/presets/TitlePanel/PresetTitlePanel.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tabs/presets/TitlePanel/PresetTitlePanel.js b/src/tabs/presets/TitlePanel/PresetTitlePanel.js index 90c99a82..ec2b66f5 100644 --- a/src/tabs/presets/TitlePanel/PresetTitlePanel.js +++ b/src/tabs/presets/TitlePanel/PresetTitlePanel.js @@ -9,6 +9,7 @@ class PresetTitlePanel this._onLoadedCallback = onLoadedCallback; this._domId = `preset_title_panel_${PresetTitlePanel.s_panelCounter}`; this._preset = preset; + this._clickable = clickable; this._parentDiv.append(`
`); this._domWrapperDiv = $(`.${this._domId}`); @@ -41,6 +42,10 @@ class PresetTitlePanel } setPicked(isPicked) { + if (!this._clickable) { + return; + } + this._preset.isPicked = isPicked; if (isPicked) {