netstar pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=5c7fe5ac31ea2846e88cc917d417433e07254d10
commit 5c7fe5ac31ea2846e88cc917d417433e07254d10 Author: Alastair Poole <[email protected]> Date: Thu Jan 2 00:01:00 2020 +0000 elm_code_widget: Line numbers Off then Gutter Off. When line numbers were disabled in the widget there was still some remnant of the background colour of gutter in the widget. This respects having the line numbers disabled visually. --- src/lib/elementary/elm_code_widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c index 8a054fae35..32dcbf80b9 100644 --- a/src/lib/elementary/elm_code_widget.c +++ b/src/lib/elementary/elm_code_widget.c @@ -245,7 +245,7 @@ _elm_code_widget_fill_line_gutter(Elm_Code_Widget *widget, Evas_Textgrid_Cell *c cursor_line = elm_code_file_line_get(line->file, pd->cursor_line); if (_elm_code_widget_line_in_scope(line, cursor_line)) cells[gutter-1].bg = ELM_CODE_WIDGET_COLOR_GUTTER_SCOPE_BG; - else + else if (pd->show_line_numbers) cells[gutter-1].bg = ELM_CODE_WIDGET_COLOR_GUTTER_BG; } else --
