improve group toolbar opacity update on theme change
This commit is contained in:
parent
41e83f1768
commit
080346f639
|
@ -316,12 +316,6 @@ export const CustomThemeTile = function({
|
|||
|
||||
header.element.search.update.style();
|
||||
|
||||
if (group.area.current.length > 0) {
|
||||
|
||||
group.area.current[0].update.style();
|
||||
|
||||
};
|
||||
|
||||
data.save();
|
||||
|
||||
}
|
||||
|
|
|
@ -188,6 +188,7 @@ group.edit = {
|
|||
applyCSSState('group.edit');
|
||||
|
||||
if (group.area.current.length > 0) {
|
||||
|
||||
group.area.current.forEach((item, i) => {
|
||||
|
||||
if (state.get.current().group.edit) {
|
||||
|
@ -197,6 +198,7 @@ group.edit = {
|
|||
};
|
||||
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -1137,12 +1137,6 @@ themeSetting.opacity = (parent) => {
|
|||
|
||||
header.element.search.update.style();
|
||||
|
||||
if (group.area.current.length > 0) {
|
||||
|
||||
group.area.current[0].update.style();
|
||||
|
||||
};
|
||||
|
||||
data.save();
|
||||
|
||||
}
|
||||
|
@ -1230,7 +1224,9 @@ themeSetting.opacity = (parent) => {
|
|||
|
||||
if (group.area.current.length > 0) {
|
||||
|
||||
group.area.current[0].update.style();
|
||||
group.area.current.forEach((item, i) => {
|
||||
item.update.style();
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -311,12 +311,6 @@ export const PresetThemeTile = function({
|
|||
|
||||
header.element.search.update.style();
|
||||
|
||||
if (group.area.current.length > 0) {
|
||||
|
||||
group.area.current[0].update.style();
|
||||
|
||||
};
|
||||
|
||||
data.save();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue