Skip to content

Commit

Permalink
Updated to 3.5.0 for game version 10.1.5 - changes to CompactPArtyFra…
Browse files Browse the repository at this point in the history
…me from Blizz
  • Loading branch information
Ketrel committed Jul 11, 2023
1 parent 4889669 commit 7679366
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions IWalkAlone/IWalkAlone.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 100007
## Interface: 100105
## Title: I Walk Alone
## Author: Marq
## Version: 3.2.0
## Version: 3.5.0
## SavedVariablesPerCharacter: IWalkAlone
core.lua
10 changes: 3 additions & 7 deletions IWalkAlone/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,8 @@
return;
end

local isInArena = IsActiveBattlefieldArena();
--local groupFramesShown = (true and (isInArena or not IsInRaid())) or EditModeManagerFrame:ArePartyFramesForcedShown();
local groupFramesShown = GetCVarBool("raidOptionIsShown") and (true and (isInArena or not IsInRaid())) or EditModeManagerFrame:ArePartyFramesForcedShown();
local showCompactPartyFrame = groupFramesShown and EditModeManagerFrame:UseRaidStylePartyFrames();
CompactPartyFrame:SetShown(showCompactPartyFrame);
PartyFrame:UpdatePaddingAndLayout();
self:SetShown(true)
PartyFrame:UpdatePaddingAndLayout()
end

function IWA:CRFM_UpdateOptionsFlowContainer()
Expand Down Expand Up @@ -148,7 +144,7 @@
--= Hooks, Secure and Otherwise
--================================
hooksecurefunc("CompactRaidFrameManager_UpdateShown", IWA.CRFM_UpdateShown)
hooksecurefunc("CompactPartyFrame_UpdateVisibility", IWA.CPF_UpdateVisibility)
hooksecurefunc(CompactPartyFrame, "UpdateVisibility", IWA.CPF_UpdateVisibility)
hooksecurefunc("CompactRaidFrameManager_UpdateOptionsFlowContainer", IWA.CRFM_UpdateOptionsFlowContainer)
----------------------------------

Expand Down

0 comments on commit 7679366

Please sign in to comment.