Fixed x-offset of text in DocView:draw_line_gutter

This commit is contained in:
rxi
2020-05-14 13:26:21 +01:00
parent 6525269386
commit ef53453246
+1 -1
View File
@@ -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