From de9d3fed8e55db6fde33a86b1bc7e6b303dfee04 Mon Sep 17 00:00:00 2001 From: IgorTimofeev Date: Mon, 15 Jan 2024 23:21:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=A3=D0=9A=D0=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Settings.app/Modules/2_Icons/Main.lua | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Applications/Settings.app/Modules/2_Icons/Main.lua b/Applications/Settings.app/Modules/2_Icons/Main.lua index 27e0a81c..4d07caac 100644 --- a/Applications/Settings.app/Modules/2_Icons/Main.lua +++ b/Applications/Settings.app/Modules/2_Icons/Main.lua @@ -24,21 +24,6 @@ module.onTouch = function() window.contentLayout:addChild(GUI.textBox(1, 1, 36, 1, nil, 0xA5A5A5, {localization.appearanceTransparencyInfo}, 1, 0, 0, true, true)) - window.contentLayout:addChild(GUI.text(1, 1, 0x2D2D2D, localization.appearanceColorScheme)) - - local function addColorSelector(key, ...) - local c = window.contentLayout:addChild(GUI.colorSelector(1, 1, 36, 1, userSettings[key], ...)) - c.onColorSelected = function() - userSettings[key] = c.color - - system.updateColorScheme() - workspace:draw() - system.saveUserSettings() - end - end - - addColorSelector("interfaceColorDesktopBackground", localization.appearanceDesktopBackground) - window.contentLayout:addChild(GUI.text(1, 1, 0x2D2D2D, localization.appearanceSize)) local iconWidthSlider = window.contentLayout:addChild(GUI.slider(1, 1, 36, 0x66DB80, 0xE1E1E1, 0xFFFFFF, 0xA5A5A5, 8, 16, userSettings.iconWidth, false, localization.appearanceHorizontal .. ": ", ""))