Skip to content

Commit 8779cde

Browse files
committed
Do it this way instead for MovableFrames
1 parent 15123ca commit 8779cde

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ProjectAzilroka/Modules/MovableFrames.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ local IsAddOnLoaded = C_AddOns.IsAddOnLoaded
1111
local IsShiftKeyDown = IsShiftKeyDown
1212

1313
local Frames = {
14-
'AddonList', 'BankFrame', 'CharacterFrame', 'DressUpFrame', 'FriendsFrame', 'FriendsFriendsFrame', 'GameMenuFrame', 'GhostFrame', 'GossipFrame', 'GuildInviteFrame',
14+
'AddonList', 'CharacterFrame', 'DressUpFrame', 'FriendsFrame', 'FriendsFriendsFrame', 'GameMenuFrame', 'GhostFrame', 'GossipFrame', 'GuildInviteFrame',
1515
'GuildRegistrarFrame', 'HelpFrame', 'InterfaceOptionsFrame', 'ItemTextFrame', 'LFGDungeonReadyDialog', 'LootFrame', 'MailFrame', 'MerchantFrame',
1616
'PetitionFrame', 'PetStableFrame', 'PVEFrame', 'QuestFrame', 'QuestLogFrame', 'QuestLogPopupDetailFrame', 'RaidBrowserFrame', 'RaidParentFrame', 'ReadyCheckFrame',
1717
'ScrollOfResurrectionSelectionFrame', 'SpellBookFrame', 'SplashFrame', 'StaticPopup1', 'StaticPopup2', 'StaticPopup3', 'StaticPopup4', 'TabardFrame', 'TaxiFrame',
@@ -172,7 +172,8 @@ function MF:Initialize()
172172

173173
if PA.ElvUI then
174174
AddOnFrames.Blizzard_TalkingHeadUI = nil
175-
tremove(Frames, 'BankFrame')
175+
else
176+
tinsert(Frames, 'BankFrame')
176177
end
177178

178179
for _, frame in next, Frames do

0 commit comments

Comments
 (0)