From 6d6974885bf63208ee0e4bbfd02f23558094d9d7 Mon Sep 17 00:00:00 2001 From: Jim-Bim Date: Tue, 8 Dec 2009 15:56:42 +0000 Subject: [PATCH] AckisRecipeList: - Added a decimal place to the progress bar % value --- ARLFrame.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index daee444..8d49045 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -2604,7 +2604,7 @@ do MainPanel.progress_bar:SetMinMaxValues(pbMin, pbMax) MainPanel.progress_bar:SetValue(pbCur) - MainPanel.progress_bar.text:SetFormattedText("%d / %d - %d%%", pbCur, pbMax, floor(pbCur / pbMax * 100)) + MainPanel.progress_bar.text:SetFormattedText("%d / %d - %1.1f%%", pbCur, pbMax, pbCur / pbMax * 100) end -- do function MainPanel.progress_bar:Update() @@ -2628,7 +2628,7 @@ function MainPanel.progress_bar:Update() self:SetValue(pbCur) if (floor(pbCur / pbMax * 100) < 101) and pbCur >= 0 and pbMax >= 0 then - self.text:SetFormattedText("%d / %d - %d%%", pbCur, pbMax, floor(pbCur / pbMax * 100)) + self.text:SetFormattedText("%d / %d - %1.1f%%", pbCur, pbMax, pbCur / pbMax * 100) else self.text:SetFormattedText("0 / 0 - %s", L["NOT_YET_SCANNED"]) end -- 1.7.9.5