From bb07ccf62e83436be4b5dbbf4cfecb80fc46398d Mon Sep 17 00:00:00 2001 From: igor Date: Mon, 8 Jan 2018 17:41:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=BB=D1=8F=D0=B4=D1=81=D0=BA=D0=B0?= =?UTF-8?q?=D1=8F=20=D0=B0=D0=BD=D0=B8=D0=BC=D0=B0=D1=86=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications.cfg | 2 +- OS.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Applications.cfg b/Applications.cfg index 14ce26a4..77c5a0ea 100644 --- a/Applications.cfg +++ b/Applications.cfg @@ -4,7 +4,7 @@ url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/OS.lua", type="Script", forceDownload=true, - version=4.13, + version=4.14, }, { path="/MineOS/Pictures/MoonTouch.pic", diff --git a/OS.lua b/OS.lua index 189d94b2..0c563bc7 100755 --- a/OS.lua +++ b/OS.lua @@ -72,7 +72,7 @@ local function biometry(creatingNew) fingerImage.eventHandler = function(mainContainer, object, eventData) if eventData[1] == "touch" then scanLine:addAnimation( - function(mainContainer, object, animation) + function(mainContainer, animation) scanLine.hidden = false if animation.position <= 0.5 then scanLine.localY = math.floor(fingerImage.localY + fingerImageHeight - fingerImageHeight * animation.position * 2 - 1) @@ -80,7 +80,7 @@ local function biometry(creatingNew) scanLine.localY = math.floor(fingerImage.localY + fingerImageHeight * (animation.position - 0.5) * 2 - 1) end end, - function(mainContainer, switch, animation) + function(mainContainer, animation) scanLine.hidden = true animation:delete()