From 1e987c50a109709f03af59857ad2444b1208aba2 Mon Sep 17 00:00:00 2001 From: Kenny Shields Date: Sat, 21 Sep 2013 06:00:39 -0400 Subject: [PATCH] Ctrl+v key repeat fix --- objects/textinput.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/textinput.lua b/objects/textinput.lua index 6d871d4..dd4e147 100644 --- a/objects/textinput.lua +++ b/objects/textinput.lua @@ -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)