Added more accuracy on scale
p3lim-52096 [10-19-08 - 20:32]
Added more accuracy on scale
git-svn-id: svn://svn.wowinterface.com/pMinimap-54/trunk@30 ae24c21f-2f0c-4c94-9256-0092abe71e0d
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)