[feature] improve link add default state

This commit is contained in:
zombieFox 2020-07-20 23:56:31 +01:00
parent 70972f02f3
commit afd0594295
5 changed files with 6 additions and 6 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "nightTab",
"version": "5.57.0",
"version": "5.58.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "nightTab",
"version": "5.57.0",
"version": "5.58.0",
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"main": "index.js",
"scripts": {

View File

@ -180,9 +180,9 @@ var link = (function() {
stagedLink.link.color.rgb.r = 0;
stagedLink.link.color.rgb.g = 0;
stagedLink.link.color.rgb.b = 0;
stagedLink.link.color.opacity = 1;
stagedLink.link.color.opacity = state.get.current().link.item.color.opacity;
stagedLink.link.image.url = "";
stagedLink.link.image.opacity = 1;
stagedLink.link.image.opacity = state.get.current().link.item.image.opacity;
stagedLink.link.wide = false;
stagedLink.link.tall = false;
stagedLink.link.searchMatch = false;

View File

@ -1,6 +1,6 @@
var version = (function() {
var current = "5.57.0";
var current = "5.58.0";
var name = "Jaded Raven";

View File

@ -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.57.0",
"version": "5.58.0",
"manifest_version": 2,
"chrome_url_overrides": {
"newtab": "index.html"