Quantcast

Some affinitii updates.

Repooc [02-23-13 - 22:24]
Some affinitii updates.
Filename
ElvUI_SLE/modules/install.lua
diff --git a/ElvUI_SLE/modules/install.lua b/ElvUI_SLE/modules/install.lua
index eef8a76..3e00e0b 100644
--- a/ElvUI_SLE/modules/install.lua
+++ b/ElvUI_SLE/modules/install.lua
@@ -2016,13 +2016,22 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t
 		E.db.sle.datatext.dp6.enabled = true
 		E.db.sle.datatext.top.enabled = true
 		E.db.sle.datatext.bottom.enabled = true
-		E.db.sle.datatext.dp6.width = 410
-		E.db.sle.datatext.bottom.width = 104
-		E.db.sle.datatext.top.width = 104
 		if GetScreenWidth() < 1920 then
+			E.db.sle.datatext.dp6.width = 410
+			E.db.sle.datatext.bottom.width = 104
+			E.db.sle.datatext.top.width = 104
 			E.db.sle.datatext.chatleft.width = 364
 			E.db.sle.datatext.chatright.width = 364
+		elseif GetScreenWidth() > 1920 then
+			E.db.sle.datatext.dp6.width = 402
+			E.db.sle.datatext.bottom.width = 102
+			E.db.sle.datatext.top.width = 102
+			E.db.sle.datatext.chatleft.width = 396
+			E.db.sle.datatext.chatright.width = 396
 		else
+			E.db.sle.datatext.dp6.width = 410
+			E.db.sle.datatext.bottom.width = 104
+			E.db.sle.datatext.top.width = 104
 			E.db.sle.datatext.chatleft.width = 396
 			E.db.sle.datatext.chatright.width = 396
 		end
@@ -2032,9 +2041,9 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t
 		E.db.datatexts.panels['LeftChatDataPanel']['left'] = ""
 		E.db.datatexts.panels['LeftChatDataPanel']['middle'] = ""
 		E.db.datatexts.panels['LeftChatDataPanel']['right'] = ""
-		E.db.datatexts.panels['RightChatDataPanel']['left'] = ""
-		E.db.datatexts.panels['RightChatDataPanel']['middle'] = ""
-		E.db.datatexts.panels['RightChatDataPanel']['right'] = ""
+		E.db.datatexts.panels['RightChatDataPanel']['left'] = "Skada"
+		E.db.datatexts.panels['RightChatDataPanel']['middle'] = "BigWigs"
+		E.db.datatexts.panels['RightChatDataPanel']['right'] = "WeakAuras"
 		E.db.datatexts.panels['Top_Center'] = "Durability"
 		E.db.datatexts.panels['Bottom_Panel'] = "Bags"
 		E.db.datatexts.panels['LeftMiniPanel'] = "Guild"
@@ -2048,9 +2057,11 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t
 			--E.db.datatexts.panels.DP_6.middle = ""
 		elseif layout == 'healer' then
 			E.db.datatexts.panels['LeftChatDataPanel']['left'] = "Spell/Heal Power"
+			E.db.datatexts.panels['LeftChatDataPanel']['middle'] = "Durability"
 			E.db.datatexts.panels['LeftChatDataPanel']['right'] = "Haste"
 		elseif layout == 'dpsCaster' then
 			E.db.datatexts.panels['LeftChatDataPanel']['left'] = "Spell/Heal Power"
+			E.db.datatexts.panels['LeftChatDataPanel']['middle'] = "Durability"
 			E.db.datatexts.panels['LeftChatDataPanel']['right'] = "Haste"
 		else
 			--E.db.datatexts.panels.DP_5.middle = ""
@@ -2060,19 +2071,26 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t
 		end
 	end
 	do
+		if GetScreenWidth() > 1920 then
+			E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM25427"
+			E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-25427"
+			E.db.movers.Bottom_Panel_Mover = "BOTTOMElvUIParentBOTTOM2544"
+			E.db.movers.Top_Center_Mover = "BOTTOMElvUIParentBOTTOM-2544"
+		else
+			E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM26027"
+			E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-26027"
+			E.db.movers.Bottom_Panel_Mover = "BOTTOMElvUIParentBOTTOM2604"
+			E.db.movers.Top_Center_Mover = "BOTTOMElvUIParentBOTTOM-2604"
+		end
 		E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-278200"
 		E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMElvUIParentBOTTOM0100"
 		E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM278200"
 		E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM0190"
 		E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310432"
 		E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM0230"
-		E.db.movers.ElvAB_1 = "BOTTOMElvUIParentBOTTOM062"
-		E.db.movers.ElvAB_2 = "BOTTOMElvUIParentBOTTOM028"
-		E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM26028"
-		E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-26028"
+		E.db.movers.ElvAB_1 = "BOTTOMElvUIParentBOTTOM060"
+		E.db.movers.ElvAB_2 = "BOTTOMElvUIParentBOTTOM027"
 		E.db.movers.DP_6_Mover = "BOTTOMElvUIParentBOTTOM04"
-		E.db.movers.Top_Center_Mover = "BOTTOMElvUIParentBOTTOM-2604"
-		E.db.movers.Bottom_Panel_Mover = "BOTTOMElvUIParentBOTTOM2604"
 		E.db.movers.LeftChatMover = "BOTTOMLEFTUIParentBOTTOMLEFT021"
 		E.db.movers.RightChatMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT021"
 		E.db.movers.PetAB = "RIGHTElvUIParentRIGHT00"