Skip to content

Commit b7bd20b

Browse files
committed
[bug] fix link colour and accent rainbow hue not being an integer
1 parent f66bc64 commit b7bd20b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

‎package-lock.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nightTab",
3-
"version": "5.42.1",
3+
"version": "5.42.2",
44
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
55
"main": "index.js",
66
"scripts":{

‎src/js/link.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ var link = (function(){
252252
l: 50
253253
});
254254
arrayItem.accent.hsl={
255-
h: degree,
255+
h: Math.round(degree),
256256
s: 100,
257257
l: 50
258258
};
@@ -332,7 +332,7 @@ var link = (function(){
332332
l: 50
333333
});
334334
arrayItem.color.hsl={
335-
h: degree,
335+
h: Math.round(degree),
336336
s: 100,
337337
l: 50
338338
};

‎src/js/version.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
varversion=(function(){
22

3-
varcurrent="5.42.1";
3+
varcurrent="5.42.2";
44

55
varname="Macabre Caterpillar";
66

‎src/manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nightTab",
33
"short_name": "nightTab",
44
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
5-
"version": "5.42.1",
5+
"version": "5.42.2",
66
"manifest_version": 2,
77
"chrome_url_overrides":{
88
"newtab": "index.html"

0 commit comments

Comments
(0)