Skip to content

Commit

Permalink
Unitframes: Move options creation up in the build order
Browse files Browse the repository at this point in the history
  • Loading branch information
Wutname1 committed Jul 12, 2023
1 parent aba796d commit 7017ee8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Modules/UnitFrames/Framework.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ function UF:OnEnable()
-- Spawn Frames
UF:SpawnFrames()

-- Build options
UF.Options:Initialize()

-- Put frames into their inital position
UF:PositionFrame()

Expand All @@ -157,9 +160,6 @@ function UF:OnEnable()
if not config.isChild then MoveIt:CreateMover(UF.Unit:Get(unit), unit, nil, nil, 'Unit frames') end
end

-- Build options
UF.Options:Initialize()

if EditModeManagerFrame then
local CheckedItems = {}
local frames = { ['boss'] = 'Boss', ['raid'] = 'Raid', ['arena'] = 'Arena', ['party'] = 'Party' }
Expand Down

0 comments on commit 7017ee8

Please sign in to comment.