mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-06-30 14:21:05 +02:00
improve group toolbar opacity update on theme change
This commit is contained in:
@ -316,12 +316,6 @@ export const CustomThemeTile = function({
|
|||||||
|
|
||||||
header.element.search.update.style();
|
header.element.search.update.style();
|
||||||
|
|
||||||
if (group.area.current.length > 0) {
|
|
||||||
|
|
||||||
group.area.current[0].update.style();
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
data.save();
|
data.save();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -188,6 +188,7 @@ group.edit = {
|
|||||||
applyCSSState('group.edit');
|
applyCSSState('group.edit');
|
||||||
|
|
||||||
if (group.area.current.length > 0) {
|
if (group.area.current.length > 0) {
|
||||||
|
|
||||||
group.area.current.forEach((item, i) => {
|
group.area.current.forEach((item, i) => {
|
||||||
|
|
||||||
if (state.get.current().group.edit) {
|
if (state.get.current().group.edit) {
|
||||||
@ -197,6 +198,7 @@ group.edit = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1137,12 +1137,6 @@ themeSetting.opacity = (parent) => {
|
|||||||
|
|
||||||
header.element.search.update.style();
|
header.element.search.update.style();
|
||||||
|
|
||||||
if (group.area.current.length > 0) {
|
|
||||||
|
|
||||||
group.area.current[0].update.style();
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
data.save();
|
data.save();
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1230,7 +1224,9 @@ themeSetting.opacity = (parent) => {
|
|||||||
|
|
||||||
if (group.area.current.length > 0) {
|
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();
|
header.element.search.update.style();
|
||||||
|
|
||||||
if (group.area.current.length > 0) {
|
|
||||||
|
|
||||||
group.area.current[0].update.style();
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
data.save();
|
data.save();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user