Фух блядь

This commit is contained in:
IgorTimofeev
2024-01-27 19:26:12 +03:00
parent 1b686708ea
commit 7f36d4f7a1
2 changed files with 89 additions and 101 deletions

View File

@@ -1333,6 +1333,8 @@ local function iconFieldUpdateFileList(iconField)
)
anyIconFieldAddIcon(iconField, icon)
icon.ignoresCapturedObject = true
icon.eventHandler = iconFieldIconEventHandler
iconField:addChild(icon)
@@ -2934,9 +2936,13 @@ function system.updateWorkspace()
-- Clearing workspace
workspace:removeChildren()
workspace.ignoresCapturedObject = true
-- Creating desktop background object
local oldDraw = desktopBackground and desktopBackground.draw
desktopBackground = workspace:addChild(GUI.object(1, 1, workspace.width, workspace.height))
desktopBackground.ignoresCapturedObject = true
local oldDraw = desktopBackground and desktopBackground.draw
desktopBackground.draw = oldDraw or desktopBackgroundAmbientDraw
end