- Unify clipboard
This commit is contained in:
@@ -949,16 +949,16 @@ end
|
||||
|
||||
local combKey={
|
||||
x=function()
|
||||
love.system.setClipboardText(inputBox:getText())
|
||||
CLIPBOARD.set(inputBox:getText())
|
||||
inputBox:clear()
|
||||
SFX.play('reach')
|
||||
end,
|
||||
c=function()
|
||||
love.system.setClipboardText(inputBox:getText())
|
||||
CLIPBOARD.set(inputBox:getText())
|
||||
SFX.play('reach')
|
||||
end,
|
||||
v=function()
|
||||
inputBox:addText(love.system.getClipboardText())
|
||||
inputBox:addText(CLIPBOARD.get())
|
||||
SFX.play('reach')
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user