From fa1569e8d4d1a3bcdcdb40452f5474e4b51d09c7 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Mon, 22 Mar 2010 18:08:57 -0400 Subject: [PATCH] In MainPanel.progress_bar:Update(): Removed subtraction of Player.excluded_recipes_unknown from pbCur, since the method of updating the progress bar has changed and that value disregarded any filtering. Also changed the percentage to have two places after the decimal. --- Frame.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Frame.lua b/Frame.lua index 3244f54..1cd4c79 100644 --- a/Frame.lua +++ b/Frame.lua @@ -2857,14 +2857,13 @@ function MainPanel.progress_bar:Update() end if not settings.includeexcluded and not settings.ignoreexclusionlist then - pbCur = pbCur - Player.excluded_recipes_unknown pbMax = pbMax - Player.excluded_recipes_known end self:SetMinMaxValues(0, pbMax) self:SetValue(pbCur) if (floor(pbCur / pbMax * 100) < 101) and pbCur >= 0 and pbMax >= 0 then - self.text:SetFormattedText("%d / %d - %1.1f%%", pbCur, pbMax, pbCur / pbMax * 100) + self.text:SetFormattedText("%d / %d - %1.2f%%", pbCur, pbMax, pbCur / pbMax * 100) else self.text:SetFormattedText("0 / 0 - %s", L["NOT_YET_SCANNED"]) end -- 1.7.9.5