mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Ctrl+v key repeat fix
This commit is contained in:
parent
1a6c27c8ba
commit
1e987c50a1
@ -133,7 +133,7 @@ function newobject:update(dt)
|
||||
local lctrl = love.keyboard.isDown("lctrl")
|
||||
local rctrl = love.keyboard.isDown("rctrl")
|
||||
if time > delay then
|
||||
if lctrl or rctrl and keydown == "v" then
|
||||
if (lctrl or rctrl) and keydown == "v" then
|
||||
self:Paste()
|
||||
else
|
||||
self:RunKey(keydown, unicode)
|
||||
|
Loading…
Reference in New Issue
Block a user