From 0c9dc7d6b0f45f006065e50c0100badf69a3c5a4 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Wed, 14 Jun 2017 19:41:54 +0300 Subject: [PATCH] =?UTF-8?q?=D0=95=D0=B1=D0=B0=D1=82=D1=8C=20=D1=8F=20?= =?UTF-8?q?=D0=BB=D0=BE=D1=85,=20=D0=B7=D0=B0=D0=B1=D1=8B=D0=BB=20=D1=81?= =?UTF-8?q?=D0=BE=D0=B2=D1=81=D0=B5=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications.cfg | 2 +- lib/GUI.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Applications.cfg b/Applications.cfg index 8ed88b80..3625a967 100644 --- a/Applications.cfg +++ b/Applications.cfg @@ -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", diff --git a/lib/GUI.lua b/lib/GUI.lua index 395aea9c..e9590ffa 100755 --- a/lib/GUI.lua +++ b/lib/GUI.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