Skip to content

Commit

Permalink
Fix "empty" xp bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ls- committed May 8, 2023
1 parent b65b620 commit 786cac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ls_UI/modules/bars/xpbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ function bar_proto:UpdateSegments()
if index == 0 then
self[1]:SetPoint("TOPLEFT", self, "TOPLEFT", 0, 0)
self[1]:SetSize(unpack(LAYOUT[1][1].size))
self[1]:Show()
self[1]:SetMinMaxValues(0, 1)
self[1]:SetValue(1)
self[1]:UpdateText(1, 1)
self[1]:SetStatusBarTexture(DEFAULT_TEXTURE)
self[1].Texture:SetVertexColor(C.db.global.colors.class[E.PLAYER_CLASS]:GetRGB())
self[1]:Show()
end

self._total = index
Expand Down

0 comments on commit 786cac8

Please sign in to comment.