mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-10 05:02:40 +01:00
Блядская анимация
This commit is contained in:
parent
ebe00d100a
commit
bb07ccf62e
@ -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",
|
||||
|
||||
4
OS.lua
4
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()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user