Quantcast

Deleting LocPlus position corrections

Darthpred [07-05-12 - 10:56]
Deleting LocPlus position corrections

Benik agreed to change the default position after we release this crap
Filename
ElvUI_SLE/ElvUI_SLE.lua
ElvUI_SLE/core/install.lua
diff --git a/ElvUI_SLE/ElvUI_SLE.lua b/ElvUI_SLE/ElvUI_SLE.lua
index 6bfe2aa..309f4f2 100644
--- a/ElvUI_SLE/ElvUI_SLE.lua
+++ b/ElvUI_SLE/ElvUI_SLE.lua
@@ -12,10 +12,6 @@ function SLE:Initialize()
 	end
 	E:GetModule('Chat'):SetTimer() --If called before Edit loaded from chat.lua will cause errors
 	E.db.datatexts.panels.Top_Center = 'Version'
-	if IsAddOnLoaded("ElvUI_LocPlus") and not E:HasMoverBeenMoved('LocationMover') then
-		if not E.db.movers then E.db.movers = {}; end
-		E.db.movers.LocationMover = "TOPUIParentTOP0-18"
-	end
 end

 --Updating things that must be updated only after everything loads
diff --git a/ElvUI_SLE/core/install.lua b/ElvUI_SLE/core/install.lua
index ea183f6..b56b5b8 100644
--- a/ElvUI_SLE/core/install.lua
+++ b/ElvUI_SLE/core/install.lua
@@ -789,11 +789,6 @@ function E:DarthSetup() --The function to switch from classic ElvUI settings to
 	end
 	--Ticket frame
 	E.db.movers.GMMover = "TOPRIGHTBNETMoverBOTTOMRIGHT0-10"
-
-	--Location Plus Mover >_>
-	if IsAddOnLoaded("ElvUI_LocPlus") then
-		E.db.movers.LocationMover = "TOPUIParentTOP0-18"
-	end

 	E:UpdateAll(true)
 end
@@ -1227,10 +1222,6 @@ function E:ElvSetup() --The function to restore defaults. not finished yet lol
 	--Move every bar and panel to the defaults.
 	E:ResetUI() --Reseting positions
 	StaticPopup3Button1:Click() --this is automatic click on confirm for reseting movers
-	if IsAddOnLoaded("ElvUI_LocPlus") then
-		if not E.db.movers then E.db.movers = {}; end
-		E.db.movers.LocationMover = "TOPUIParentTOP0-18"
-	end

 	E:UpdateAll(true)
 end