From 3d84ad201a00267c2b0a5b9a184d6870e360d90f Mon Sep 17 00:00:00 2001 From: rxi Date: Fri, 1 May 2020 19:19:03 +0100 Subject: Changed all plugins that do underlines to use 1*SCALE instead of divider size --- plugins/bracketmatch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/bracketmatch.lua') diff --git a/plugins/bracketmatch.lua b/plugins/bracketmatch.lua index b05e8ab..71fb26a 100644 --- a/plugins/bracketmatch.lua +++ b/plugins/bracketmatch.lua @@ -85,7 +85,7 @@ function DocView:draw_line_text(idx, x, y) local color = style.bracketmatch_color or style.syntax["function"] local x1 = x + self:get_col_x_offset(idx, state.col2) local x2 = x + self:get_col_x_offset(idx, state.col2 + 1) - local h = style.divider_size + local h = math.ceil(1 * SCALE) renderer.draw_rect(x1, y + self:get_line_height() - h, x2 - x1, h, color) end end -- cgit v1.2.3