From 99f459aba0dfe3765a78bcbb8d06b2e5b4715bfa Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Fri, 25 Mar 2016 19:18:22 +0300 Subject: [PATCH] =?UTF-8?q?Ez=20=D1=84=D0=B8=D0=BA=D1=81=20=D1=84=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D1=88=D0=BE=D0=BF=D0=B0,=20=D0=B1=D0=B8=D1=87?= =?UTF-8?q?=D0=B5=D0=B7!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications/Photoshop/Photoshop.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Applications/Photoshop/Photoshop.lua b/Applications/Photoshop/Photoshop.lua index 310a608d..85e3ef65 100644 --- a/Applications/Photoshop/Photoshop.lua +++ b/Applications/Photoshop/Photoshop.lua @@ -386,6 +386,12 @@ local function inputText(x, y, limit) end elseif e[4] == 28 then break + elseif e[4] == 200 then + text = "▀" + drawThisShit() + elseif e[4] == 208 then + text = "▄" + drawThisShit() else local symbol = ecs.convertCodeToSymbol(e[3]) if symbol ~= nil then @@ -794,7 +800,7 @@ while true do local encodingMethod = data[2] image.save(filename, masterPixels, encodingMethod) - savePath = fileName + savePath = filename end elseif action == "Сохранить" then image.save(savePath, masterPixels) @@ -914,4 +920,3 @@ while true do end ------------------------------------------------ Выход из программы -------------------------------------------------------------- -