* Add an option to reset the position of the coordinate block
James Whitehead II [12-03-08 - 22:37]
* Add an option to reset the position of the coordinate block
diff --git a/TomTom_Config.lua b/TomTom_Config.lua
index ff419b9..bb42cc7 100644
--- a/TomTom_Config.lua
+++ b/TomTom_Config.lua
@@ -123,6 +123,17 @@ local function createconfig()
arg = "block.fontsize",
min = 1, max = 24, step = 1,
},
+ reset_position = {
+ type = "execute",
+ name = L["Reset Position"],
+ desc = L["Resets the position of the waypoint arrow if its been dragged off screen"],
+ func = function()
+ if TomTomBlock then
+ TomTomBlock:ClearAllPoints()
+ TomTomBlock:SetPoint("TOP", Minimap, "BOTTOM", -20, -10)
+ end
+ end,
+ },
},
},
},