mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-10 07:58:53 +01:00
[bug] fix vignette controls not being disabled when background is off
This commit is contained in:
parent
071bed0424
commit
7064d48ea7
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nightTab",
|
||||
"version": "5.25.1",
|
||||
"version": "5.25.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nightTab",
|
||||
"version": "5.25.1",
|
||||
"version": "5.25.2",
|
||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -8689,32 +8689,12 @@ var control = (function() {
|
||||
}],
|
||||
background: [{
|
||||
condition: function() {
|
||||
return state.get.current().background.image.show;
|
||||
return (state.get.current().background.color.by == "custom");
|
||||
},
|
||||
dependents: function() {
|
||||
return [
|
||||
".control-background-image-from-file",
|
||||
".control-background-image-from-url",
|
||||
"[for=control-background-image-opacity-range]",
|
||||
".control-background-image-opacity-range",
|
||||
".control-background-image-opacity-number",
|
||||
".control-background-image-opacity-default",
|
||||
"[for=control-background-image-blur-range]",
|
||||
".control-background-image-blur-range",
|
||||
".control-background-image-blur-number",
|
||||
".control-background-image-blur-default",
|
||||
"[for=control-background-image-grayscale-range]",
|
||||
".control-background-image-grayscale-range",
|
||||
".control-background-image-grayscale-number",
|
||||
".control-background-image-grayscale-default",
|
||||
"[for=control-background-image-accent-range]",
|
||||
".control-background-image-accent-range",
|
||||
".control-background-image-accent-number",
|
||||
".control-background-image-accent-default",
|
||||
"[for=control-background-image-scale-range]",
|
||||
".control-background-image-scale-range",
|
||||
".control-background-image-scale-number",
|
||||
".control-background-image-scale-default"
|
||||
".control-background-color-rgb-range",
|
||||
".control-background-color-rgb-text"
|
||||
];
|
||||
}
|
||||
}, {
|
||||
@ -8741,12 +8721,44 @@ var control = (function() {
|
||||
}
|
||||
}, {
|
||||
condition: function() {
|
||||
return (state.get.current().background.color.by == "custom");
|
||||
return state.get.current().background.image.show;
|
||||
},
|
||||
dependents: function() {
|
||||
return [
|
||||
".control-background-color-rgb-range",
|
||||
".control-background-color-rgb-text"
|
||||
".control-background-image-from-file",
|
||||
".control-background-image-from-url",
|
||||
"[for=control-background-image-opacity-range]",
|
||||
".control-background-image-opacity-range",
|
||||
".control-background-image-opacity-number",
|
||||
".control-background-image-opacity-default",
|
||||
"[for=control-background-image-blur-range]",
|
||||
".control-background-image-blur-range",
|
||||
".control-background-image-blur-number",
|
||||
".control-background-image-blur-default",
|
||||
"[for=control-background-image-grayscale-range]",
|
||||
".control-background-image-grayscale-range",
|
||||
".control-background-image-grayscale-number",
|
||||
".control-background-image-grayscale-default",
|
||||
"[for=control-background-image-accent-range]",
|
||||
".control-background-image-accent-range",
|
||||
".control-background-image-accent-number",
|
||||
".control-background-image-accent-default",
|
||||
"[for=control-background-image-scale-range]",
|
||||
".control-background-image-scale-range",
|
||||
".control-background-image-scale-number",
|
||||
".control-background-image-scale-default",
|
||||
"[for=control-background-image-vignette-opacity-range]",
|
||||
".control-background-image-vignette-opacity-range",
|
||||
".control-background-image-vignette-opacity-number",
|
||||
".control-background-image-vignette-opacity-default",
|
||||
"[for=control-background-image-vignette-start-range]",
|
||||
".control-background-image-vignette-start-range",
|
||||
".control-background-image-vignette-start-number",
|
||||
".control-background-image-vignette-start-default",
|
||||
"[for=control-background-image-vignette-end-range]",
|
||||
".control-background-image-vignette-end-range",
|
||||
".control-background-image-vignette-end-number",
|
||||
".control-background-image-vignette-end-default"
|
||||
];
|
||||
}
|
||||
}]
|
||||
|
@ -1,6 +1,6 @@
|
||||
var version = (function() {
|
||||
|
||||
var current = "5.25.1";
|
||||
var current = "5.25.2";
|
||||
|
||||
var name = "Zonked Tarsier";
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "nightTab",
|
||||
"short_name": "nightTab",
|
||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||
"version": "5.25.1",
|
||||
"version": "5.25.2",
|
||||
"manifest_version": 2,
|
||||
"chrome_url_overrides": {
|
||||
"newtab": "index.html"
|
||||
|
Loading…
Reference in New Issue
Block a user