Will have to play with the progress bar tonight with a PC in front of me so Zhinjio doesn't go crazy
Ackis [10-21-08 - 16:29]
Will have to play with the progress bar tonight with a PC in front of me so Zhinjio doesn't go crazy
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 46d5368..cac6bc9 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -129,13 +129,15 @@ function ReDisplay( )
local pbCur = playerData.foundRecipes
local pbMin = 0
local pbMax = 100
+
-- Include filtered recipes in overall count, so we just display the total number of recipes
- if ( addon.db.profile.includefiltered == true ) then
+ if (addon.db.profile.includefiltered == true) then
pbMax = playerData.totalRecipes
-- We're removing filtered recipes from the final count
else
pbMax = playerData.totalRecipes - (playerData.filteredRecipes - playerData.foundRecipes)
end
+
ARL_ProgressBar:SetMinMaxValues( pbMin, pbMax)
ARL_ProgressBar:SetValue( pbCur )
ARL_ProgressBarText:SetText( pbCur .. " / " .. pbMax .. " - " .. math.floor( pbCur / pbMax * 100) .. "%")
diff --git a/AckisRecipeList.toc b/AckisRecipeList.toc
index 2d3169e..c990eb4 100644
--- a/AckisRecipeList.toc
+++ b/AckisRecipeList.toc
@@ -18,7 +18,7 @@
## X-Donate: Donate a few bucks/hours at your local animal shelter, or send me UDE Point codes, a Murky Code, or an account upgrade certificate.
## Interface: 30000
-## Version: Beta 4
+## Version: Beta 5
## X-Revision: $Rev$
## X-Date: $Date$