From 6a9e51488491b367fc33e1f759c3de2b87befcee Mon Sep 17 00:00:00 2001 From: Simpy Date: Sat, 20 Apr 2024 18:14:34 -0400 Subject: [PATCH] https://github.com/oUF-wow/oUF/pull/675 --- ElvUI_Libraries/Core/oUF/elements/castbar.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ElvUI_Libraries/Core/oUF/elements/castbar.lua b/ElvUI_Libraries/Core/oUF/elements/castbar.lua index d1d1b0c021..effe7bbddb 100644 --- a/ElvUI_Libraries/Core/oUF/elements/castbar.lua +++ b/ElvUI_Libraries/Core/oUF/elements/castbar.lua @@ -184,7 +184,9 @@ local function UpdatePips(element, numStages) pip:Show() if(isHoriz) then - pip:RotateTextures(0) + if(pip.RotateTextures) then + pip:RotateTextures(0) + end if(element:GetReverseFill()) then pip:SetPoint('TOP', element, 'TOPRIGHT', -offset, 0) @@ -194,7 +196,9 @@ local function UpdatePips(element, numStages) pip:SetPoint('BOTTOM', element, 'BOTTOMLEFT', offset, 0) end else - pip:RotateTextures(1.5708) + if(pip.RotateTextures) then + pip:RotateTextures(1.5708) + end if(element:GetReverseFill()) then pip:SetPoint('LEFT', element, 'TOPLEFT', 0, -offset)