From ef53453246afa92ab6bd0b774ad0299faf98b61e Mon Sep 17 00:00:00 2001 From: rxi Date: Thu, 14 May 2020 13:26:21 +0100 Subject: [PATCH] Fixed x-offset of text in `DocView:draw_line_gutter` --- data/core/docview.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/core/docview.lua b/data/core/docview.lua index 1cdc89a3..371f9c36 100644 --- a/data/core/docview.lua +++ b/data/core/docview.lua @@ -330,7 +330,7 @@ function DocView:draw_line_gutter(idx, x, y) color = style.line_number2 end local yoffset = self:get_line_text_y_offset() - x = style.padding.x + x = x + style.padding.x renderer.draw_text(self:get_font(), idx, x, y + yoffset, color) end