Fixed rounding of CommandView suggestion popup box
This commit is contained in:
parent
03eee86ddb
commit
592c16f3e0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue