This commit is contained in:
Manuel Simon Hirsig
2016-11-09 02:16:49 +01:00
parent 05fb051bd4
commit 001883ca40
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -44,6 +44,7 @@ M.color = W-{
orange = C(255, 146, 24, 1),
red = C(255, 0, 0, 1),
gray = C(187, 187, 187, 1),
gold = C(255, 255, 154, 1),
blizzard = C(0, 180, 255, 1),
}
+1 -1
View File
@@ -210,7 +210,7 @@ function formatted_post_filter(components)
end
no_line_break = component[1] == 'operator' and component[2] == 'not'
local filter_color = (filter_builder_state.selected == i and color.aux or color.orange)
local filter_color = (filter_builder_state.selected == i and color.gold or color.orange)
local component_text = filter_color(component[2])
if component[1] == 'operator' and component[2] ~= 'not' then
component_text = component_text .. filter_color(tonumber(component[3]) or '')