mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-06 11:12:40 +01:00
Ебать я лох, забыл совсем
This commit is contained in:
parent
2fe31a0d57
commit
0c9dc7d6b0
@ -264,7 +264,7 @@
|
||||
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/lib/GUI.lua",
|
||||
type="Library",
|
||||
preloadFile=true,
|
||||
version=1.63,
|
||||
version=1.64,
|
||||
},
|
||||
{
|
||||
path="/lib/rayEngine.lua",
|
||||
|
||||
@ -278,7 +278,7 @@ function GUI.drawContainerContent(container)
|
||||
local x1, y1, x2, y2 = getRectangleIntersection(R1X1, R1Y1, R1X2, R1Y2, container.x, container.y, container.x + container.width - 1, container.y + container.height - 1)
|
||||
|
||||
if x1 then
|
||||
-- buffer.setDrawLimit(x1, y1, x2, y2)
|
||||
buffer.setDrawLimit(x1, y1, x2, y2)
|
||||
|
||||
for objectIndex = 1, #container.children do
|
||||
if not container.children[objectIndex].hidden then
|
||||
@ -287,7 +287,7 @@ function GUI.drawContainerContent(container)
|
||||
end
|
||||
end
|
||||
|
||||
-- buffer.setDrawLimit(R1X1, R1Y1, R1X2, R1Y2)
|
||||
buffer.setDrawLimit(R1X1, R1Y1, R1X2, R1Y2)
|
||||
end
|
||||
|
||||
return container
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user