From aa74f695b905d3944045d33c414ecc848ba8ace6 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Wed, 26 Apr 2017 13:24:51 +0300 Subject: [PATCH] aefae --- MineOS/OS.lua | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/MineOS/OS.lua b/MineOS/OS.lua index e340d960..db959ace 100755 --- a/MineOS/OS.lua +++ b/MineOS/OS.lua @@ -114,9 +114,6 @@ local function checkPassword() local inputTextBox = container.layout:addInputTextBox(1, 1, 36, 3, 0xEEEEEE, 0x666666, 0xEEEEEE, 0x262626, nil, "Password", true, "*") local label = container.layout:addLabel(1, 1, 36, 1, 0xFF4940, " "):setAlignment(GUI.alignment.horizontal.center, GUI.alignment.vertical.top) - workspace:draw() - buffer.draw() - container.panel.onTouch = function() local hash = require("SHA2").hash(inputTextBox.text or "") if hash == _G.OSSettings.passwordHash then @@ -174,9 +171,6 @@ local function setProtectionMethod() comboBox:addItem(MineOSCore.localization.passwordProtection) comboBox:addItem(MineOSCore.localization.withoutProtection) - workspace:draw() - buffer.draw() - container.panel.onTouch = function() container:delete() workspace:draw() @@ -205,6 +199,9 @@ local function login() end end event.interuptingEnabled = true + + workspace:draw() + buffer.draw() end ---------------------------------------------- Система нотификаций ------------------------------------------------------------------------