@@ -570,7 +570,7 @@ function cPointDisplay:GetPoints(CurClass, CurType)
570570 end
571571 end
572572 -- Paladin
573- elseif CurClass == " PALADIN" and PlayerSpec == 3 then -- hp is only for retribution
573+ elseif CurClass == " PALADIN" then
574574 -- Holy Power
575575 if CurType == " hp" then
576576 NewPoints = UnitPower (" player" , Enum .PowerType .HolyPower )
@@ -935,12 +935,12 @@ local function CreateFrames()
935935
936936 -- BG Panel
937937 local FrameName = " cPointDisplay_Frames_" .. tid
938- Frames [ic ][tid ].bgpanel .frame = CreateFrame (" Frame" , FrameName , UIParent )
938+ Frames [ic ][tid ].bgpanel .frame = CreateFrame (" Frame" , FrameName , UIParent , BackdropTemplateMixin and " BackdropTemplate " )
939939
940940 Frames [ic ][tid ].bgpanel .bg = Frames [ic ][tid ].bgpanel .frame :CreateTexture (nil , " ARTWORK" )
941941 Frames [ic ][tid ].bgpanel .bg :SetAllPoints (Frames [ic ][tid ].bgpanel .frame )
942942
943- Frames [ic ][tid ].bgpanel .border = CreateFrame (" Frame" , nil , UIParent )
943+ Frames [ic ][tid ].bgpanel .border = CreateFrame (" Frame" , nil , UIParent , BackdropTemplateMixin and " BackdropTemplate " )
944944 Frames [ic ][tid ].bgpanel .border :SetParent (Frames [ic ][tid ].bgpanel .frame )
945945 Frames [ic ][tid ].bgpanel .border :ClearAllPoints ()
946946 Frames [ic ][tid ].bgpanel .border :SetPoint (" CENTER" , Frames [ic ][tid ].bgpanel .frame , " CENTER" , 0 , 0 )
@@ -949,18 +949,18 @@ local function CreateFrames()
949949
950950 -- Anchor Panel
951951 local AnchorFrameName = " cPointDisplay_Frames_" .. tid .. " _avAanchor"
952- Frames [ic ][tid ].anchor .frame = CreateFrame (" Frame" , AnchorFrameName , UIParent )
952+ Frames [ic ][tid ].anchor .frame = CreateFrame (" Frame" , AnchorFrameName , UIParent , BackdropTemplateMixin and " BackdropTemplate " )
953953
954954 -- Point bars
955955 for i = 1 , Types [ic ].points [it ].barcount do
956956 local BarFrameName = " cPointDisplay_Frames_" .. tid .. " _bar" .. tostring (i )
957957
958- Frames [ic ][tid ].bars [i ].frame = CreateFrame (" Frame" , BarFrameName , UIParent )
958+ Frames [ic ][tid ].bars [i ].frame = CreateFrame (" Frame" , BarFrameName , UIParent , BackdropTemplateMixin and " BackdropTemplate " )
959959
960960 Frames [ic ][tid ].bars [i ].bg = Frames [ic ][tid ].bars [i ].frame :CreateTexture (nil , " ARTWORK" )
961961 Frames [ic ][tid ].bars [i ].bg :SetAllPoints (Frames [ic ][tid ].bars [i ].frame )
962962
963- Frames [ic ][tid ].bars [i ].border = CreateFrame (" Frame" , nil , UIParent )
963+ Frames [ic ][tid ].bars [i ].border = CreateFrame (" Frame" , nil , UIParent , BackdropTemplateMixin and " BackdropTemplate " )
964964 Frames [ic ][tid ].bars [i ].border :SetParent (Frames [ic ][tid ].bars [i ].frame )
965965 Frames [ic ][tid ].bars [i ].border :ClearAllPoints ()
966966 Frames [ic ][tid ].bars [i ].border :SetPoint (" CENTER" , Frames [ic ][tid ].bars [i ].frame , " CENTER" , 0 , 0 )
@@ -971,7 +971,7 @@ local function CreateFrames()
971971 local SubBarSubFrameName = " cPointDisplay_Frames_" .. tid .. " _bar" .. tostring (i ).. " _sub" .. tostring (j )
972972 Frames [ic ][tid ].bars [i ].subbars [j ] = {frame = nil , bg = nil }
973973
974- Frames [ic ][tid ].bars [i ].subbars [j ].frame = CreateFrame (" Frame" , SubBarSubFrameName , UIParent )
974+ Frames [ic ][tid ].bars [i ].subbars [j ].frame = CreateFrame (" Frame" , SubBarSubFrameName , UIParent , BackdropTemplateMixin and " BackdropTemplate " )
975975
976976 Frames [ic ][tid ].bars [i ].subbars [j ].bg = Frames [ic ][tid ].bars [i ].subbars [j ].frame :CreateTexture (nil , " ARTWORK" )
977977 Frames [ic ][tid ].bars [i ].subbars [j ].bg :SetAllPoints (Frames [ic ][tid ].bars [i ].subbars [j ].frame )
@@ -981,7 +981,7 @@ local function CreateFrames()
981981 end
982982
983983 -- Spark
984- Frames [ic ][tid ].bars [i ].spark .frame = CreateFrame (" Frame" , nil , UIParent )
984+ Frames [ic ][tid ].bars [i ].spark .frame = CreateFrame (" Frame" , nil , UIParent , BackdropTemplateMixin and " BackdropTemplate " )
985985
986986 Frames [ic ][tid ].bars [i ].spark .bg = Frames [ic ][tid ].bars [i ].spark .frame :CreateTexture (nil , " ARTWORK" )
987987 Frames [ic ][tid ].bars [i ].spark .bg :SetAllPoints (Frames [ic ][tid ].bars [i ].spark .frame )
0 commit comments