[input] Reduce overlong text margin.
This commit is contained in:
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…
Reference in New Issue