more fixes
This commit is contained in:
@@ -578,12 +578,18 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
if(MATRIX_GREEN_BLUE) //composed of a green and blue section
|
||||
primary_feature = secondary_feature //swap primary for secondary, as first option is green, which is linked to the secondary
|
||||
secondary_feature = tertiary_feature //swap secondary for tertiary, as second option is blue, which is linked to the tertiary
|
||||
if(!features[primary_feature])
|
||||
features[primary_feature] = "FFFFFF"
|
||||
dat += "<b>Primary Color</b><BR>"
|
||||
dat += "<span style='border:1px solid #161616; background-color: #[features[primary_feature]];'> </span> <a href='?_src_=prefs;preference=[primary_feature];task=input'>Change</a><BR>"
|
||||
if((accessory.color_src == MATRIXED && (matrixed_sections == MATRIX_RED_BLUE || matrixed_sections == MATRIX_GREEN_BLUE || matrixed_sections == MATRIX_RED_GREEN || matrixed_sections == MATRIX_ALL)) || (accessory.extra && (accessory.extra_color_src == MUTCOLORS || accessory.extra_color_src == MUTCOLORS2 || accessory.extra_color_src == MUTCOLORS3)))
|
||||
if(!features[secondary_feature])
|
||||
features[secondary_feature] = "FFFFFF"
|
||||
dat += "<b>Secondary Color</b><BR>"
|
||||
dat += "<span style='border:1px solid #161616; background-color: #[features[secondary_feature]];'> </span> <a href='?_src_=prefs;preference=[secondary_feature];task=input'>Change</a><BR>"
|
||||
if((accessory.color_src == MATRIXED && matrixed_sections == MATRIX_ALL) || (accessory.extra2 && (accessory.extra2_color_src == MUTCOLORS || accessory.extra2_color_src == MUTCOLORS2 || accessory.extra2_color_src == MUTCOLORS3)))
|
||||
if(!features[tertiary_feature])
|
||||
features[tertiary_feature] = "FFFFFF"
|
||||
dat += "<b>Tertiary Color</b><BR>"
|
||||
dat += "<span style='border:1px solid #161616; background-color: #[features[tertiary_feature]];'> </span> <a href='?_src_=prefs;preference=[tertiary_feature];task=input'>Change</a><BR>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user