mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-09-14 11:06:16 +05:00
Улучшил фотошоп с использованием новой цветовой палитры
This commit is contained in:
parent
9cf3423d2b
commit
da419a4d5e
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user