From 497e0f7e38d32dbffb3efd7d7af2b28b204056ec Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sun, 26 Aug 2018 15:50:08 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B0=D1=81=D1=88=D1=82=D0=B0=D0=B1=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D1=85=D1=83=D0=B8=D1=81=D0=BE=D1=81=D0=B0?= =?UTF-8?q?=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications/SemyonIC2Reactors.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Applications/SemyonIC2Reactors.lua b/Applications/SemyonIC2Reactors.lua index 451b8078..c131bccb 100644 --- a/Applications/SemyonIC2Reactors.lua +++ b/Applications/SemyonIC2Reactors.lua @@ -4,6 +4,7 @@ local component = require("component") local GUI = require("GUI") local buffer = require("doubleBuffering") local fs = require("filesystem") +local scale = require("scale") -------------------------------------------------------------------------------- @@ -20,10 +21,12 @@ end local palette = {0x00FF00,0x00B600,0x33DB00,0x99FF00,0xCCFF00,0xFFDB00,0xFFB600,0xFF9200,0xFF6D00,0xFF4900,0xFF2400,0xFF0000} -local mainContainer = GUI.fullScreenContainer() - -------------------------------------------------------------------------------- +scale.set(1) +buffer.flush() +local mainContainer = GUI.fullScreenContainer() + mainContainer:addChild(GUI.panel(1, 1, mainContainer.width, mainContainer.height, 0x1E1E1E)) local function newController(x, y, proxy)