From b7bd20b8583be2c11787674815b0c875f7f7efde Mon Sep 17 00:00:00 2001 From: zombieFox Date: Tue, 16 Jun 2020 09:25:46 +0100 Subject: [PATCH] [bug] fix link colour and accent rainbow hue not being an integer --- package-lock.json | 2 +- package.json | 2 +- src/js/link.js | 4 ++-- src/js/version.js | 2 +- src/manifest.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7639ce74..98571625 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nightTab", - "version": "5.42.1", + "version": "5.42.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 9d384643..ebddd31c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nightTab", - "version": "5.42.1", + "version": "5.42.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": { diff --git a/src/js/link.js b/src/js/link.js index d73d90e8..593d7328 100644 --- a/src/js/link.js +++ b/src/js/link.js @@ -252,7 +252,7 @@ var link = (function() { l: 50 }); arrayItem.accent.hsl = { - h: degree, + h: Math.round(degree), s: 100, l: 50 }; @@ -332,7 +332,7 @@ var link = (function() { l: 50 }); arrayItem.color.hsl = { - h: degree, + h: Math.round(degree), s: 100, l: 50 }; diff --git a/src/js/version.js b/src/js/version.js index 11e3c426..c96fc59a 100644 --- a/src/js/version.js +++ b/src/js/version.js @@ -1,6 +1,6 @@ var version = (function() { - var current = "5.42.1"; + var current = "5.42.2"; var name = "Macabre Caterpillar"; diff --git a/src/manifest.json b/src/manifest.json index 7b8fb18d..83ae7642 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -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.42.1", + "version": "5.42.2", "manifest_version": 2, "chrome_url_overrides": { "newtab": "index.html"