diff options
Diffstat (limited to 'plugins/spellcheck.lua')
-rw-r--r-- | plugins/spellcheck.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/spellcheck.lua b/plugins/spellcheck.lua index 3ac4c02..64cd6f3 100644 --- a/plugins/spellcheck.lua +++ b/plugins/spellcheck.lua @@ -73,7 +73,7 @@ function DocView:draw_line_text(idx, x, y) local color = style.spellcheck_error or style.syntax.keyword2 local x1 = x + self:get_col_x_offset(idx, s) local x2 = x + self:get_col_x_offset(idx, e + 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 |