Skip to content

Commit

Permalink
Update OsmiumLibrary.lua
Browse files Browse the repository at this point in the history
replacing tabs by spaces
  • Loading branch information
JulMan-Dev authored Jan 7, 2025
1 parent 8ed4285 commit 56128d0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions OsmiumLibrary.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,19 @@ local library = (function ()
ZIndexBehavior = Enum.ZIndexBehavior.Sibling
})

local destructionHooks = {}
local destructionHooks = {}

function window:OnDestroy(func)
table.insert(destructionHooks, func)
end
function window:OnDestroy(func)
table.insert(destructionHooks, func)
end

function window:Destroy()
screen:Destroy()
state = library.WindowState.Destroyed

for _, v in pairs(destructionHooks) do
pcall(v)
end
for _, v in pairs(destructionHooks) do
pcall(v)
end
end

function window:GetTitle()
Expand All @@ -148,8 +148,8 @@ local library = (function ()
})

CreateInstance("UICorner", top, {
CornerRadius = UDim.new(0, 4)
})
CornerRadius = UDim.new(0, 4)
})

CreateInstance("TextLabel", top, {
TextColor3 = Colors.White,
Expand Down Expand Up @@ -257,8 +257,8 @@ local library = (function ()
})

CreateInstance("UICorner", windowContainer, {
CornerRadius = UDim.new(0, 3)
})
CornerRadius = UDim.new(0, 3)
})

pcall(function ()
local opened = true
Expand Down

0 comments on commit 56128d0

Please sign in to comment.