From ede6233643beb1f728e939ecd607d14c83f11269 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Thu, 22 Oct 2015 03:23:46 +0300 Subject: [PATCH] Cyka --- Applications/Keyboard/Keyboard.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Applications/Keyboard/Keyboard.lua b/Applications/Keyboard/Keyboard.lua index 5ba65411..180be48c 100644 --- a/Applications/Keyboard/Keyboard.lua +++ b/Applications/Keyboard/Keyboard.lua @@ -252,6 +252,9 @@ local xPos, yPos = math.floor(xSize / 2 - width / 2), ySize local oldPixels = rememberOldPixels(xPos, ySize - height + 1, xPos + width - 1, ySize) if args[1] == "-a" then + yPos = ySize - height + 1 + drawKeyboard(xPos, yPos) +else for i = 1, height do if i == height then animation = true end drawKeyboard(xPos, yPos) @@ -260,9 +263,6 @@ if args[1] == "-a" then end yPos = yPos + 1 animation = true -else - yPos = ySize - height + 1 - drawKeyboard(xPos, yPos) end while true do