From 0dd5b66a3355de9f135972417367b840edeb11de Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sun, 10 Aug 2014 19:27:16 +0200 Subject: [PATCH] The reverse option is a sub-option of the modifier, move it --- Config.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Config.lua b/Config.lua index 248ded9..a2b93ba 100644 --- a/Config.lua +++ b/Config.lua @@ -229,10 +229,6 @@ Panel:SetScript('OnShow', function(self) Darkmoon:SetPoint('TOPLEFT', GossipRaid, 'BOTTOMLEFT', -24, -8) Darkmoon.Text:SetText(L['Darkmoon Faire: Automatically teleport']) - local Reverse = CreateCheckButton(self, 'reverse') - Reverse:SetPoint('TOPLEFT', Darkmoon, 'BOTTOMLEFT', 0, -8) - Reverse.Text:SetText(L['Reverse the behaviour of the modifier key']) - local Modifier = CreateDropdown(self, 'modifier', function(self) local selected = UIDropDownMenu_GetSelectedValue(self) local info = UIDropDownMenu_CreateInfo() @@ -254,7 +250,7 @@ Panel:SetScript('OnShow', function(self) info.checked = selected == info.value UIDropDownMenu_AddButton(info) end) - Modifier:SetPoint('TOPLEFT', Reverse, 'BOTTOMLEFT', -13, -14) + Modifier:SetPoint('TOPLEFT', Darkmoon, 'BOTTOMLEFT', -13, -14) if(QuickQuestDB.reverse) then Modifier.Text:SetText(L['Modifier to temporarly enable automation']) @@ -262,6 +258,9 @@ Panel:SetScript('OnShow', function(self) Modifier.Text:SetText(L['Modifier to temporarly disable automation']) end + local Reverse = CreateCheckButton(self, 'reverse') + Reverse:SetPoint('TOPLEFT', Modifier, 'BOTTOMLEFT', 37, -8) + Reverse.Text:SetText(L['Reverse the behaviour of the modifier key']) Reverse:HookScript('OnClick', function(self) if(self:GetChecked()) then Modifier.Text:SetText(L['Modifier to temporarly enable automation']) -- 1.7.9.5