diff options
author | Alastair Poole <netstar@gmail.com> | 2020-01-02 00:01:00 +0000 |
---|---|---|
committer | Alastair Poole <netstar@gmail.com> | 2020-01-02 00:01:00 +0000 |
commit | 5c7fe5ac31ea2846e88cc917d417433e07254d10 (patch) | |
tree | 33884cd203fd38b924559a131bae9471145a2b8e | |
parent | 072ff46aa2db19133fa4d6951688bbaf0e78a96f (diff) | |
download | efl-5c7fe5ac31ea2846e88cc917d417433e07254d10.tar.gz |
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.
-rw-r--r-- | src/lib/elementary/elm_code_widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |