bugfix
This commit is contained in:
@@ -44,6 +44,7 @@ M.color = W-{
|
|||||||
orange = C(255, 146, 24, 1),
|
orange = C(255, 146, 24, 1),
|
||||||
red = C(255, 0, 0, 1),
|
red = C(255, 0, 0, 1),
|
||||||
gray = C(187, 187, 187, 1),
|
gray = C(187, 187, 187, 1),
|
||||||
|
gold = C(255, 255, 154, 1),
|
||||||
|
|
||||||
blizzard = C(0, 180, 255, 1),
|
blizzard = C(0, 180, 255, 1),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ function formatted_post_filter(components)
|
|||||||
end
|
end
|
||||||
no_line_break = component[1] == 'operator' and component[2] == 'not'
|
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])
|
local component_text = filter_color(component[2])
|
||||||
if component[1] == 'operator' and component[2] ~= 'not' then
|
if component[1] == 'operator' and component[2] ~= 'not' then
|
||||||
component_text = component_text .. filter_color(tonumber(component[3]) or '')
|
component_text = component_text .. filter_color(tonumber(component[3]) or '')
|
||||||
|
|||||||
Reference in New Issue
Block a user