Thread Tools Display Modes
Prev Previous Post   Next Post Next
03-12-14, 06:16 PM   #21
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Add the part highlighted in teal:
Code:
			else
				if value < valueMax then
					for j = 1, #shorts do
						local v = shorts[j]
						if valueMax >= v[1] then
							return fontString:SetFormattedText(t[3] .. "/" .. v[3], value / t[2], valueMax / v[2])
						end
					end
				end
				return fontString:SetFormattedText(t[3], value / t[2])
			end
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Help with some Font settings


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off