mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-22 20:12:48 +01:00
Update Photoshop.lua
This commit is contained in:
parent
a3069d8247
commit
e76ec6ee24
@ -622,7 +622,6 @@ local function open(path)
|
|||||||
end
|
end
|
||||||
|
|
||||||
imageWidth, imageHeight = loadedImageWidth, loadedImageHeight
|
imageWidth, imageHeight = loadedImageWidth, loadedImageHeight
|
||||||
drawFromMassiv()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
--ОТРИСОВАТЬ ВАЩЕ ВСЕ ЧТО ТОЛЬКО МОЖНО
|
--ОТРИСОВАТЬ ВАЩЕ ВСЕ ЧТО ТОЛЬКО МОЖНО
|
||||||
@ -763,12 +762,9 @@ end
|
|||||||
--------------------------------------ПРОЖКА-------------------------------------------------------
|
--------------------------------------ПРОЖКА-------------------------------------------------------
|
||||||
|
|
||||||
if arg[1] == "-o" or arg[1] == "open" then
|
if arg[1] == "-o" or arg[1] == "open" then
|
||||||
currentFile = arg[2]
|
|
||||||
clearScreen(padColor)
|
|
||||||
drawLeftToolbar()
|
|
||||||
drawTopToolbar()
|
|
||||||
drawRightToolbar()
|
|
||||||
open(arg[2])
|
open(arg[2])
|
||||||
|
currentFile = arg[2]
|
||||||
|
drawAll()
|
||||||
elseif arg[1] == "-n" or arg[1] == "new" then
|
elseif arg[1] == "-n" or arg[1] == "new" then
|
||||||
imageWidth = arg[2]
|
imageWidth = arg[2]
|
||||||
imageHeight = arg[3]
|
imageHeight = arg[3]
|
||||||
@ -943,6 +939,7 @@ while true do
|
|||||||
drawTopToolbar()
|
drawTopToolbar()
|
||||||
drawRightToolbar()
|
drawRightToolbar()
|
||||||
open(data[1])
|
open(data[1])
|
||||||
|
drawFromMassiv()
|
||||||
consoleText = "Открыт файл "..data[1]
|
consoleText = "Открыт файл "..data[1]
|
||||||
console(7, ySize)
|
console(7, ySize)
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user