mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-07 19:52:40 +01:00
Переход на новые либы и ссылки к репозиториям #4
This commit is contained in:
parent
55f8c8b770
commit
d4ef7ad319
4
OS.lua
4
OS.lua
@ -871,8 +871,8 @@ local function createOSWidgets()
|
||||
MineOSCore.properties.transparencyEnabled = switch.state
|
||||
MineOSCore.saveProperties()
|
||||
MineOSInterface.mainContainer.menu.colors.transparency = MineOSCore.properties.transparencyEnabled and menuTransparency
|
||||
container.panel.colors.background = switch.state and 0x0 or (MineOSCore.properties.backgroundColor)
|
||||
container.panel.colors.transparency = switch.state and 0.2
|
||||
container.panel.colors.background = switch.state and GUI.BACKGROUND_CONTAINER_PANEL_COLOR or (MineOSCore.properties.backgroundColor)
|
||||
container.panel.colors.transparency = switch.state and GUI.BACKGROUND_CONTAINER_PANEL_TRANSPARENCY
|
||||
|
||||
MineOSInterface.mainContainer:drawOnScreen()
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user