[input] Reduce overlong text margin.

This commit is contained in:
Lorenzo Cogotti 2022-10-02 18:53:00 +02:00
parent c449b8c53f
commit 16bf7cbae8
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ function Input:draw()
-- Set scissors
local sx, sy, sw, sh = love.graphics.getScissor()
love.graphics.setScissor(x-1,y,w+2,h)
love.graphics.setScissor(x-1,y,w+1,h)
-- Move to focused text box region
x = x - self.drawofs