From 63dcf728af42f8887f114758ae54449d97d3c060 Mon Sep 17 00:00:00 2001 From: p3lim-52096 Date: Sun, 19 Oct 2008 20:32:42 +0000 Subject: [PATCH] Added more accuracy on scale git-svn-id: svn://svn.wowinterface.com/pMinimap-54/trunk@30 ae24c21f-2f0c-4c94-9256-0092abe71e0d --- pMinimap/pMinimapConfig.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pMinimap/pMinimapConfig.lua b/pMinimap/pMinimapConfig.lua index 273491c..ebe5e12 100644 --- a/pMinimap/pMinimapConfig.lua +++ b/pMinimap/pMinimapConfig.lua @@ -23,9 +23,9 @@ local function CreateOptions(self, db) 'name', 'Minimap Scale', 'description', 'Drag to change the minimap scale', 'default', 0.9, - 'minText', '0.5', 'maxText', '2.5', - 'minValue', 0.5, 'maxValue', 2.5, - 'step', 0.1, + 'minText', '0.75', 'maxText', '2.50', + 'minValue', 0.75, 'maxValue', 2.50, + 'step', 0.01, 'current', db.scale, 'setFunc', function(x) db.scale = x @@ -34,7 +34,7 @@ local function CreateOptions(self, db) pMinimap:SetHeight(Minimap:GetHeight() * x) end, 'currentTextFunc', function(num) - return format('%.1f', num) + return format('%.2f', num) end ):SetPoint('TOPLEFT', sub, 'BOTTOMLEFT', 0, -56) -- 1.7.9.5