Skip to content

Commit 0c656c8

Browse files
committed
should fix skada issues
1 parent 5da4ce2 commit 0c656c8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

AddOnSkins/Embed/Skada.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function ES:SkadaWindow(window, width, height, point, relativeFrame, relativePoi
3636
window.bargroup:SetFrameLevel(relativeFrame:GetFrameLevel())
3737
window.bargroup:SetBackdrop(nil)
3838
if window.bargroup.backdrop then
39-
S:SetTemplate(window.bargroup.backdrop, AS:CheckOption('EmbedBackdropTransparent') and 'Transparent')
39+
AS:SetTemplate(window.bargroup.backdrop, AS:CheckOption('EmbedBackdropTransparent') and 'Transparent')
4040
if AS:CheckOption('EmbedBackdrop') then
4141
window.bargroup.backdrop:Show()
4242
else

AddOnSkins/Skins/AddOns/Skada.lua

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
local AS, L, S, R = unpack(AddOnSkins)
2+
local ES = AS.EmbedSystem
23

34
function R:Skada()
45
local SkadaDisplayBar = Skada.displays['bar']
@@ -53,17 +54,17 @@ function R:Skada()
5354

5455
hooksecurefunc(Skada, 'CreateWindow', function()
5556
if AS:CheckEmbed('Skada') then
56-
AS:Embed_Skada()
57+
ES:Skada()
5758
end
5859
end)
5960
hooksecurefunc(Skada, 'DeleteWindow', function()
6061
if AS:CheckEmbed('Skada') then
61-
AS:Embed_Skada()
62+
ES:Skada()
6263
end
6364
end)
6465
hooksecurefunc(Skada, 'UpdateDisplay', function()
6566
if AS:CheckEmbed('Skada') and not InCombatLockdown() then
66-
AS:Embed_Skada()
67+
ES:Skada()
6768
end
6869
end)
6970
end

0 commit comments

Comments
 (0)