@@ -117,7 +117,7 @@ function UF:Construct_Castbar(frame, moverName)
117
117
castbar .UpdatePipStep = UF .UpdatePipStep
118
118
castbar .PostUpdatePip = UF .PostUpdatePip
119
119
castbar .CreatePip = UF .BuildPip
120
- castbar .TicksData = {}
120
+ castbar .TickLines = {}
121
121
122
122
castbar :SetClampedToScreen (true )
123
123
castbar :CreateBackdrop (nil , nil , nil , nil , true )
@@ -332,7 +332,7 @@ function UF:Configure_Castbar(frame)
332
332
castbar .tickWidth = db .tickWidth
333
333
castbar .tickColor = db .tickColor
334
334
335
- for _ , tick in next , castbar .TicksData do
335
+ for _ , tick in next , castbar .TickLines do
336
336
tick :SetVertexColor (castbar .tickColor .r , castbar .tickColor .g , castbar .tickColor .b , castbar .tickColor .a )
337
337
tick :Width (castbar .tickWidth )
338
338
end
@@ -427,7 +427,7 @@ function UF:CustomTimeText(duration)
427
427
end
428
428
429
429
function UF :HideTicks (frame )
430
- for _ , tick in next , frame .TicksData do
430
+ for _ , tick in next , frame .TickLines do
431
431
tick :Hide ()
432
432
end
433
433
end
@@ -440,12 +440,12 @@ function UF:SetCastTicks(frame, numTicks)
440
440
local offset = frame :GetWidth () / numTicks
441
441
442
442
for i = 1 , numTicks - 1 do
443
- local tick = frame .TicksData [i ]
443
+ local tick = frame .TickLines [i ]
444
444
if not tick then
445
445
tick = frame :CreateTexture (nil , ' OVERLAY' )
446
446
tick :SetTexture (E .media .blankTex )
447
447
tick :Width (frame .tickWidth )
448
- frame .TicksData [i ] = tick
448
+ frame .TickLines [i ] = tick
449
449
end
450
450
451
451
tick :SetVertexColor (frame .tickColor .r , frame .tickColor .g , frame .tickColor .b , frame .tickColor .a )
0 commit comments