Minor fix

This commit is contained in:
Jean-Patrick Guerrero 2022-08-16 15:27:12 +02:00
parent 813d27d2cc
commit 56b5cb78f2
1 changed files with 5 additions and 3 deletions

View File

@ -1399,7 +1399,9 @@ local function get_header_items_fs(fs, data)
fmt("field[%f,0.2;3.35,0.6;filter;;%s]", X + 0.85, ESC(data.filter)),
"field_close_on_enter[filter;false]")
if not true_str(data.filter) then
image(X + 0.85, 0.75, 4, 0.01, PNG.search_outline_trim .. "^[opacity:100")
end
else
fs"style_type[label;font=italic;font_size=18]"
label(X + 0.9, 0.49, clr("#aaa", ES"Search..."))