[input] Reduce overlong text margin.

master
Lorenzo Cogotti 2 years ago
parent c449b8c53f
commit 16bf7cbae8

@ -206,7 +206,7 @@ function Input:draw()
-- Set scissors -- Set scissors
local sx, sy, sw, sh = love.graphics.getScissor() 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 -- Move to focused text box region
x = x - self.drawofs x = x - self.drawofs

Loading…
Cancel
Save