From 7017ee8e308265db060fc9b1622852217c5d4ed9 Mon Sep 17 00:00:00 2001 From: wutname1 Date: Wed, 12 Jul 2023 00:27:32 -0500 Subject: [PATCH] Unitframes: Move options creation up in the build order --- Modules/UnitFrames/Framework.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/UnitFrames/Framework.lua b/Modules/UnitFrames/Framework.lua index d0e2deb3..c746f089 100644 --- a/Modules/UnitFrames/Framework.lua +++ b/Modules/UnitFrames/Framework.lua @@ -149,6 +149,9 @@ function UF:OnEnable() -- Spawn Frames UF:SpawnFrames() + -- Build options + UF.Options:Initialize() + -- Put frames into their inital position UF:PositionFrame() @@ -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' }