From 54dd4d326067c0eecdee6db5dbb7264d4ee59da7 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Wed, 3 Dec 2008 22:37:23 +0000 Subject: [PATCH] * Add an option to reset the position of the coordinate block --- TomTom_Config.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) 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, + }, }, }, }, -- 1.7.9.5