diff --git a/TomTom.lua b/TomTom.lua
index 9ebdfc6..08c8656 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -114,6 +114,7 @@ function TomTom:ADDON_LOADED(event, addon)
feeds = {
coords = false,
coords_throttle = 0.3,
+ coords_accuracy = 2,
arrow = false,
arrow_throttle = 0.1,
},
@@ -177,7 +178,7 @@ function TomTom:ADDON_LOADED(event, addon)
local opt = TomTom.db.profile
if x and y then
- feed_coords.text = string.format("%s", RoundCoords(x, y, opt.block.accuracy))
+ feed_coords.text = string.format("%s", RoundCoords(x, y, opt.feeds.coords_accuracy))
end
end)
end
diff --git a/TomTom_Config.lua b/TomTom_Config.lua
index 5bd0de9..12d84ef 100644
--- a/TomTom_Config.lua
+++ b/TomTom_Config.lua
@@ -510,16 +510,24 @@ local function createconfig()
min = 0, max = 2.0, step = 0.05,
arg = "feeds.coords_throttle",
},
+ accuracy = {
+ order = 4,
+ type = "range",
+ name = L["Coordinate feed accuracy"],
+ desc = L["Coordinates can be displayed as simple XX, YY coordinate, or as more precise XX.XX, YY.YY. This setting allows you to control that precision"],
+ min = 0, max = 2, step = 1,
+ arg = "feeds.coords_accuracy",
+ },
arrow = {
type = "toggle",
- order = 3,
+ order = 5,
name = L["Provide a LDB data source for the crazy-arrow"],
width = "double",
arg = "feeds.arrow",
},
arrow_throttle = {
type = "range",
- order = 3,
+ order = 6,
name = L["Crazy Arrow feed throttle"],
desc = L["Controls the frequency of updates for the crazy arrow LDB feed."],
width = "double",