From da419a4d5e2b4883ca6c5984214d901a7b2ffe90 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sun, 23 Aug 2015 11:23:16 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=84=D0=BE=D1=82=D0=BE=D1=88=D0=BE=D0=BF=20=D1=81=20=D0=B8?= =?UTF-8?q?=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=D0=BC=20=D0=BD=D0=BE=D0=B2=D0=BE=D0=B9=20=D1=86?= =?UTF-8?q?=D0=B2=D0=B5=D1=82=D0=BE=D0=B2=D0=BE=D0=B9=20=D0=BF=D0=B0=D0=BB?= =?UTF-8?q?=D0=B8=D1=82=D1=80=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications/Photoshop/Photoshop.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Applications/Photoshop/Photoshop.lua b/Applications/Photoshop/Photoshop.lua index 81d0e054..cc26bc26 100644 --- a/Applications/Photoshop/Photoshop.lua +++ b/Applications/Photoshop/Photoshop.lua @@ -856,6 +856,7 @@ while true do if ecs.clickedAtArea(eventData[3],eventData[4],obj["colors"][key]["x1"],obj["colors"][key]["y1"],obj["colors"][key]["x2"],obj["colors"][key]["y2"]) then local CYKA = {gpu.get(eventData[3],eventData[4])} local chosenColor = palette.draw("auto","auto", CYKA[3]) + --ecs.error("ЦВЕТ ИЗМЕНИЛСЯ НА "..tostring(chosenColor)) if chosenColor then if key == 1 then background = chosenColor @@ -865,9 +866,10 @@ while true do consoleText = "Вторичный цвет изменен на 0x"..string.format("%x",chosenColor) end end - drawRightToolbar() + drawLeftToolbar() breakLags = true + break end end