From 592c16f3e0c4ba3b56cc99e9e96d89e271d2f74c Mon Sep 17 00:00:00 2001 From: rxi Date: Wed, 22 Apr 2020 19:25:47 +0100 Subject: [PATCH] Fixed rounding of CommandView suggestion popup box --- data/core/commandview.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/core/commandview.lua b/data/core/commandview.lua index d1677412..f400eb8a 100644 --- a/data/core/commandview.lua +++ b/data/core/commandview.lua @@ -219,7 +219,7 @@ local function draw_suggestions_box(self) local dh = style.divider_size local offsety = self:get_line_text_y_offset() local x, _ = self:get_line_screen_position() - local h = self.suggestions_height + local h = math.ceil(self.suggestions_height) local rx, ry, rw, rh = self.position.x, self.position.y - h - dh, self.size.x, h -- draw suggestions background