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
|
||||
|
||||
imageWidth, imageHeight = loadedImageWidth, loadedImageHeight
|
||||
drawFromMassiv()
|
||||
end
|
||||
|
||||
--ОТРИСОВАТЬ ВАЩЕ ВСЕ ЧТО ТОЛЬКО МОЖНО
|
||||
@ -763,12 +762,9 @@ end
|
||||
--------------------------------------ПРОЖКА-------------------------------------------------------
|
||||
|
||||
if arg[1] == "-o" or arg[1] == "open" then
|
||||
currentFile = arg[2]
|
||||
clearScreen(padColor)
|
||||
drawLeftToolbar()
|
||||
drawTopToolbar()
|
||||
drawRightToolbar()
|
||||
open(arg[2])
|
||||
currentFile = arg[2]
|
||||
drawAll()
|
||||
elseif arg[1] == "-n" or arg[1] == "new" then
|
||||
imageWidth = arg[2]
|
||||
imageHeight = arg[3]
|
||||
@ -943,6 +939,7 @@ while true do
|
||||
drawTopToolbar()
|
||||
drawRightToolbar()
|
||||
open(data[1])
|
||||
drawFromMassiv()
|
||||
consoleText = "Открыт файл "..data[1]
|
||||
console(7, ySize)
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user