mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +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 lctrl = love.keyboard.isDown("lctrl")
|
||||||
local rctrl = love.keyboard.isDown("rctrl")
|
local rctrl = love.keyboard.isDown("rctrl")
|
||||||
if time > delay then
|
if time > delay then
|
||||||
if lctrl or rctrl and keydown == "v" then
|
if (lctrl or rctrl) and keydown == "v" then
|
||||||
self:Paste()
|
self:Paste()
|
||||||
else
|
else
|
||||||
self:RunKey(keydown, unicode)
|
self:RunKey(keydown, unicode)
|
||||||
|
Loading…
Reference in New Issue
Block a user