Change the settings to be based off the array length, so it shows all the colors
parent
7a18c3b444
commit
19ac4017bb
|
|
@ -93,7 +93,7 @@ var bg_code = [
|
|||
},
|
||||
'Theme Color 1': {
|
||||
value: 0 | bg_code.indexOf(settings.themeColor1BG),
|
||||
min: 0, max: 11,
|
||||
min: 0, max: color_options.length,
|
||||
format: v => color_options[v],
|
||||
onchange: v => {
|
||||
settings.themeColor1BG = bg_code[v];
|
||||
|
|
@ -102,7 +102,7 @@ var bg_code = [
|
|||
},
|
||||
'Theme Color 2': {
|
||||
value: 0 | bg_code.indexOf(settings.themeColor2BG),
|
||||
min: 0, max: 11,
|
||||
min: 0, max: color_options.length,
|
||||
format: v => color_options[v],
|
||||
onchange: v => {
|
||||
settings.themeColor2BG = bg_code[v];
|
||||
|
|
@ -111,7 +111,7 @@ var bg_code = [
|
|||
},
|
||||
'Theme Color 3': {
|
||||
value: 0 | bg_code.indexOf(settings.themeColor3BG),
|
||||
min: 0, max: 11,
|
||||
min: 0, max: color_options.length,
|
||||
format: v => color_options[v],
|
||||
onchange: v => {
|
||||
settings.themeColor3BG = bg_code[v];
|
||||
|
|
|
|||
Loading…
Reference in New Issue