From de94f8266f51c6a8a6c8a155b5b1e237ff278222 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Tue, 23 May 2023 06:22:42 +0200 Subject: [PATCH] Input paste forgot to reimplement paste --- Basalt/objects/Input.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Basalt/objects/Input.lua b/Basalt/objects/Input.lua index 2355ac3..f2819b8 100644 --- a/Basalt/objects/Input.lua +++ b/Basalt/objects/Input.lua @@ -267,6 +267,13 @@ return function(name, basalt) end end, + eventHandler = function(self, event, paste, ...) + base.eventHandler(self, event, paste, ...) + if(event=="paste")then + self:setValue(self:getValue()..paste) + end + end, + draw = function(self) base.draw(self) self:addDraw("input", function()