Skip to content

Commit

Permalink
nameplate cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Wutname1 committed May 5, 2019
1 parent b0cd242 commit 36f1a4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Components/Nameplates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ local NamePlateFactory = function(frame, unit)
cast:SetSize(frame:GetWidth(), SUI.DBMod.NamePlates.Castbar.height)
cast:SetStatusBarTexture(BarTexture)
cast:SetStatusBarColor(1, 0.7, 0)
if SUI.DBMod.NamePlates.Castbar.Text then
if SUI.DBMod.NamePlates.Castbar.text then
cast.Text = cast:CreateFontString()
SUI:FormatFont(cast.Text, 7, 'Player')
cast.Text:SetJustifyH('CENTER')
Expand Down Expand Up @@ -325,7 +325,7 @@ function module:OnInitialize()
Castbar = {
show = true,
height = 5,
Text = true,
text = true,
FlashOnInterruptible = true
}
}
Expand Down Expand Up @@ -558,10 +558,10 @@ function module:BuildOptions()
type = 'toggle',
order = 20,
get = function(info)
return SUI.DBMod.NamePlates.Castbar.Text
return SUI.DBMod.NamePlates.Castbar.text
end,
set = function(info, val)
SUI.DBMod.NamePlates.Castbar.Text = val
SUI.DBMod.NamePlates.Castbar.text = val
end
},
FlashOnInterruptible = {
Expand Down

0 comments on commit 36f1a4d

Please sign in to comment.