From 67ac821b15dd8b526e6e4723db0c16c81bb45f34 Mon Sep 17 00:00:00 2001 From: IgorTimofeev Date: Wed, 13 Jul 2022 18:46:35 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=D0=B0=D0=BD=D1=83?= =?UTF-8?q?=D0=BB=20=D1=81=D0=BA=D1=80=D1=8B=D1=82=D0=B8=D0=B5=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B1.=20=D1=81=D1=82=D0=BE=D0=BB=D0=B0=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D0=BC=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=D0=B0=D0=B9=D0=B7?= =?UTF-8?q?=D0=B0=20=D0=BE=D0=BA=D0=BE=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Libraries/System.lua | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Libraries/System.lua b/Libraries/System.lua index 48b1ea43..a6c4a4f3 100755 --- a/Libraries/System.lua +++ b/Libraries/System.lua @@ -1818,8 +1818,10 @@ end local function setWorkspaceHidden(state) local child + for i = 1, #workspace.children do child = workspace.children[i] + if child ~= desktopWindowsContainer and child ~= desktopMenu and child ~= desktopMenuLayout then child.hidden = state end @@ -1829,11 +1831,14 @@ end local function windowMaximize(window, ...) window.movingEnabled = window.maximized - if window.maximized then - setWorkspaceHidden(false) - else - setWorkspaceHidden(not window.showDesktopOnMaximize) - end + setWorkspaceHidden( + not ( + window.maximized + or userSettings.interfaceTransparencyEnabled + or userSettings.interfaceBlurEnabled + or window.showDesktopOnMaximize + ) + ) GUI.windowMaximize(window, ...) end