Fixed rounding of CommandView suggestion popup box

This commit is contained in:
rxi 2020-04-22 19:25:47 +01:00
parent 03eee86ddb
commit 592c16f3e0
1 changed files with 1 additions and 1 deletions

View File

@ -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