@innovastudio/contentbuilder 1.3.65 → 1.3.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -59117,16 +59117,24 @@ class ColumnTool {
|
|
59117
59117
|
let dataBg = elm.getAttribute('data-bg-xs');
|
59118
59118
|
if (!dataBg) dataBg = '';
|
59119
59119
|
div.style.cssText = dataBg;
|
59120
|
+
inpImageScaleSlider.disabled = true;
|
59121
|
+
inpImageScaleSlider.style.opacity = 0.6;
|
59120
59122
|
} else if (document.querySelector('.page-preview.is-screen-768.active') && useTarget) {
|
59121
59123
|
let dataBg = elm.getAttribute('data-bg-sm');
|
59122
59124
|
if (!dataBg) dataBg = '';
|
59123
59125
|
div.style.cssText = dataBg;
|
59126
|
+
inpImageScaleSlider.disabled = true;
|
59127
|
+
inpImageScaleSlider.style.opacity = 0.6;
|
59124
59128
|
} else if (document.querySelector('.page-preview.is-screen-1024.active') && useTarget) {
|
59125
59129
|
let dataBg = elm.getAttribute('data-bg-md');
|
59126
59130
|
if (!dataBg) dataBg = '';
|
59127
59131
|
div.style.cssText = dataBg;
|
59132
|
+
inpImageScaleSlider.disabled = true;
|
59133
|
+
inpImageScaleSlider.style.opacity = 0.6;
|
59128
59134
|
} else {
|
59129
59135
|
div.style.cssText = elm.style.cssText;
|
59136
|
+
inpImageScaleSlider.disabled = false;
|
59137
|
+
inpImageScaleSlider.style.opacity = '';
|
59130
59138
|
}
|
59131
59139
|
|
59132
59140
|
if (div.style.backgroundSize) {
|
@@ -59207,6 +59215,9 @@ class ColumnTool {
|
|
59207
59215
|
elm.removeAttribute('data-x');
|
59208
59216
|
elm.removeAttribute('data-y');
|
59209
59217
|
elm.removeAttribute('data-scale');
|
59218
|
+
elm.removeAttribute('data-bg-xs');
|
59219
|
+
elm.removeAttribute('data-bg-sm');
|
59220
|
+
elm.removeAttribute('data-bg-md');
|
59210
59221
|
}
|
59211
59222
|
|
59212
59223
|
resetImage2(elm) {
|