Skip to content

Commit 6a9e514

Browse files
committed
https://github.com/oUF-wow/oUF/pull/675
1 parent c202dbe commit 6a9e514

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ElvUI_Libraries/Core/oUF/elements/castbar.lua

+6-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ local function UpdatePips(element, numStages)
184184
pip:Show()
185185

186186
if(isHoriz) then
187-
pip:RotateTextures(0)
187+
if(pip.RotateTextures) then
188+
pip:RotateTextures(0)
189+
end
188190

189191
if(element:GetReverseFill()) then
190192
pip:SetPoint('TOP', element, 'TOPRIGHT', -offset, 0)
@@ -194,7 +196,9 @@ local function UpdatePips(element, numStages)
194196
pip:SetPoint('BOTTOM', element, 'BOTTOMLEFT', offset, 0)
195197
end
196198
else
197-
pip:RotateTextures(1.5708)
199+
if(pip.RotateTextures) then
200+
pip:RotateTextures(1.5708)
201+
end
198202

199203
if(element:GetReverseFill()) then
200204
pip:SetPoint('LEFT', element, 'TOPLEFT', 0, -offset)

0 commit comments

Comments
 (0)