[bug] fix some control fields displaying floating nunbers

This commit is contained in:
zombieFox 2020-04-01 17:09:37 +01:00
parent 4622b3d269
commit 8118e5b0a3
5 changed files with 11 additions and 11 deletions

2
package-lock.json generated
View File

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

View File

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

View File

@ -2114,7 +2114,7 @@ var control = (function() {
}, { }, {
element: ".control-header-search-opacity-number", element: ".control-header-search-opacity-number",
path: "header.search.opacity", path: "header.search.opacity",
type: "range", type: "number",
valueConvert: ["float"], valueConvert: ["float"],
valueModify: { valueModify: {
min: 0, min: 0,
@ -2495,7 +2495,7 @@ var control = (function() {
}, { }, {
element: ".control-header-editadd-opacity-number", element: ".control-header-editadd-opacity-number",
path: "header.editAdd.opacity", path: "header.editAdd.opacity",
type: "range", type: "number",
valueConvert: ["float"], valueConvert: ["float"],
valueModify: { valueModify: {
min: 0, min: 0,
@ -2691,7 +2691,7 @@ var control = (function() {
}, { }, {
element: ".control-header-coloraccent-opacity-number", element: ".control-header-coloraccent-opacity-number",
path: "header.colorAccent.opacity", path: "header.colorAccent.opacity",
type: "range", type: "number",
valueConvert: ["float"], valueConvert: ["float"],
valueModify: { valueModify: {
min: 0, min: 0,
@ -2841,7 +2841,7 @@ var control = (function() {
}, { }, {
element: ".control-header-menu-opacity-number", element: ".control-header-menu-opacity-number",
path: "header.menu.opacity", path: "header.menu.opacity",
type: "range", type: "number",
valueConvert: ["float"], valueConvert: ["float"],
valueModify: { valueModify: {
min: 0, min: 0,
@ -3066,7 +3066,7 @@ var control = (function() {
}, { }, {
element: ".control-header-color-opacity-number", element: ".control-header-color-opacity-number",
path: "header.color.opacity", path: "header.color.opacity",
type: "range", type: "number",
valueConvert: ["float"], valueConvert: ["float"],
valueModify: { valueModify: {
min: 0, min: 0,
@ -3923,7 +3923,7 @@ var control = (function() {
}, { }, {
element: ".control-link-item-opacity-number", element: ".control-link-item-opacity-number",
path: "link.item.opacity", path: "link.item.opacity",
type: "range", type: "number",
valueConvert: ["float"], valueConvert: ["float"],
valueModify: { valueModify: {
min: 0, min: 0,
@ -4327,7 +4327,7 @@ var control = (function() {
}, { }, {
element: ".control-group-openall-opacity-number", element: ".control-group-openall-opacity-number",
path: "group.openAll.opacity", path: "group.openAll.opacity",
type: "range", type: "number",
valueConvert: ["float"], valueConvert: ["float"],
valueModify: { valueModify: {
min: 0, min: 0,

View File

@ -1,6 +1,6 @@
var version = (function() { var version = (function() {
var current = "5.4.1"; var current = "5.4.2";
var name = "Zonked Tarsier"; var name = "Zonked Tarsier";

View File

@ -2,7 +2,7 @@
"name": "nightTab", "name": "nightTab",
"short_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.", "description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"version": "5.4.1", "version": "5.4.2",
"manifest_version": 2, "manifest_version": 2,
"chrome_url_overrides": { "chrome_url_overrides": {
"newtab": "index.html" "newtab": "index.html"