mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-09 12:42:39 +01:00
Update ECSAPI.lua
This commit is contained in:
parent
cd19f7f963
commit
28f1634efe
@ -1175,7 +1175,7 @@ function ECSAPI.rename(mainPath)
|
||||
path = fs.path(mainPath)
|
||||
|
||||
--Рисуем окошко ввода нового имени файла
|
||||
local inputs = ECSAPI.input("auto", "auto", 20, " ", {"input", "Новое имя", name})
|
||||
local inputs = ECSAPI.universalWindow("auto", "auto", 30, ECSAPI.windowColors.background, true, {"EmptyLine"}, {"CenterText", 0x262626, "Переименовать"}, {"EmptyLine"}, {"Input", 0x262626, 0x880000, name}, {"EmptyLine"}, {"Button", 0xbbbbbb, 0xffffff, "Ok!"})
|
||||
|
||||
--Если ввели в окошко хуйню какую-то
|
||||
if inputs[1] == "" or inputs[1] == " " or inputs[1] == nil then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user