mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-08 20:22:38 +01:00
Добавил возможность вставки из буфера путем нажатия СКМ в инструменте "текст", полезно для спец. символов.
This commit is contained in:
parent
8c39fa23a3
commit
d56cedb616
@ -690,6 +690,14 @@ local function inputText(x,y,limit,textColor)
|
||||
drawThisShit()
|
||||
end
|
||||
end
|
||||
elseif e[1] == "clipboard" then
|
||||
if e[3] then
|
||||
text = text .. e[3]
|
||||
if unicode.len(text) < limit then
|
||||
inputPos = inputPos + 1
|
||||
end
|
||||
drawThisShit()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user