Skip to content

Commit 7679366

Browse files
author
Ketrel
committed
Updated to 3.5.0 for game version 10.1.5 - changes to CompactPArtyFrame from Blizz
1 parent 4889669 commit 7679366

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

IWalkAlone/IWalkAlone.toc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## Interface: 100007
1+
## Interface: 100105
22
## Title: I Walk Alone
33
## Author: Marq
4-
## Version: 3.2.0
4+
## Version: 3.5.0
55
## SavedVariablesPerCharacter: IWalkAlone
66
core.lua

IWalkAlone/core.lua

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,8 @@
8282
return;
8383
end
8484

85-
local isInArena = IsActiveBattlefieldArena();
86-
--local groupFramesShown = (true and (isInArena or not IsInRaid())) or EditModeManagerFrame:ArePartyFramesForcedShown();
87-
local groupFramesShown = GetCVarBool("raidOptionIsShown") and (true and (isInArena or not IsInRaid())) or EditModeManagerFrame:ArePartyFramesForcedShown();
88-
local showCompactPartyFrame = groupFramesShown and EditModeManagerFrame:UseRaidStylePartyFrames();
89-
CompactPartyFrame:SetShown(showCompactPartyFrame);
90-
PartyFrame:UpdatePaddingAndLayout();
85+
self:SetShown(true)
86+
PartyFrame:UpdatePaddingAndLayout()
9187
end
9288

9389
function IWA:CRFM_UpdateOptionsFlowContainer()
@@ -148,7 +144,7 @@
148144
--= Hooks, Secure and Otherwise
149145
--================================
150146
hooksecurefunc("CompactRaidFrameManager_UpdateShown", IWA.CRFM_UpdateShown)
151-
hooksecurefunc("CompactPartyFrame_UpdateVisibility", IWA.CPF_UpdateVisibility)
147+
hooksecurefunc(CompactPartyFrame, "UpdateVisibility", IWA.CPF_UpdateVisibility)
152148
hooksecurefunc("CompactRaidFrameManager_UpdateOptionsFlowContainer", IWA.CRFM_UpdateOptionsFlowContainer)
153149
----------------------------------
154150

0 commit comments

Comments
 (0)