Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Editmode unable to save issue #53

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion ShadowedUnitFrames.lua
Original file line number Diff line number Diff line change
Expand Up @@ -698,9 +698,20 @@ local function hideBlizzardFrames(taint, ...)

if( taint ) then
frame.Show = ShadowUF.noop
else
elseif not( EditModeManagerFrame ) then --Classic?
frame:SetParent(ShadowUF.hiddenFrame)
frame:HookScript("OnShow", rehideFrame)
else
local old_parent = frame:GetParent()
EditModeManagerFrame:HookScript("OnShow", function(self)
frame:SetParent(old_parent)
end
)
EditModeManagerFrame:HookScript("OnHide", function(self)
frame:SetParent(ShadowUF.hiddenFrame)
rehideFrame(frame)
end
)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion modules/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function Health:UpdateAura(frame)
local id = 0
while( true ) do
id = id + 1
local name, _, _, auraType = UnitDebuff(frame.unit, id)
local name, _, _, auraType = AuraUtil.UnpackAuraData(C_UnitAuras.GetDebuffDataByIndex(frame.unit, id))
if( not name ) then break end

if( canCure[auraType] ) then
Expand Down
2 changes: 1 addition & 1 deletion modules/highlight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function Highlight:UpdateAura(frame)
local id = 0
while( true ) do
id = id + 1
local name, _, _, auraType = UnitDebuff(frame.unit, id)
local name, _, _, auraType = AuraUtil.UnpackAuraData(C_UnitAuras.GetDebuffDataByIndex(frame.unit, id))
if( not name ) then break end
if( auraType == "" ) then auraType = "Enrage" end

Expand Down