From 368a24f37431d28e4de9cc271fd27458f798dc64 Mon Sep 17 00:00:00 2001 From: Repooc Date: Tue, 19 Feb 2013 03:07:17 -0500 Subject: [PATCH] More updates Signed-off-by: Repooc --- ElvUI_SLE/modules/install.lua | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/ElvUI_SLE/modules/install.lua b/ElvUI_SLE/modules/install.lua index 2f7d51a..71e0c45 100644 --- a/ElvUI_SLE/modules/install.lua +++ b/ElvUI_SLE/modules/install.lua @@ -194,9 +194,8 @@ function E:SetupPixelPerfect(enabled, noMsg) end if noMsg then + if not E.db.movers then E.db.movers = {}; end if enabled then - if not E.db.movers then E.db.movers = {}; end - E.db.movers["ElvUF_PetMover"] = "BOTTOMElvUIParentBOTTOM0104" E.db.movers["ElvUF_TargetTargetMover"] = "BOTTOMElvUIParentBOTTOM064" E.db.movers["ElvUF_PlayerMover"] = "BOTTOMElvUIParentBOTTOM-27865" @@ -1627,7 +1626,7 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t --can try * .135417 for ab 3 and 5 positions or do xoffset - blah blah layout = E.db.layoutSet --Pull which layout was selected if any. pixel = E.PixelMode --Pull PixelMode - + E.private.general.pixelPerfect = true E.db.general.autoAcceptInvite = true E.db.general.autoRepair = "GUILD" E.db.general.bottomPanel = false @@ -1654,6 +1653,7 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t E.private.skins.addons.AlwaysTrue = true E.db.gridSize = 110 E.db.hideTutorial = 1 + E.db.unitframe.colors.healthclass = false --Chat E.db.chat.editBoxPosition = "ABOVE_CHAT" @@ -1948,7 +1948,7 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t E.db.actionbar.bar4.buttonspacing = 2 E.db.actionbar.bar4.buttonsPerRow = 6 E.db.actionbar.bar4.mouseover = true - E.db.actionbar.bar4.point = "BOTTOMRIGHT" + E.db.actionbar.bar4.point = "BOTTOMLEFT" --Bar 5 E.db.actionbar.bar5.enabled = true E.db.actionbar.bar5.backdrop = true @@ -1959,8 +1959,8 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t --Stance Bar E.db.actionbar.stanceBar.buttonsPerRow = 1 --Pet Bar - E.db.actionbar.barPet.point = "BOTTOMLEFT" - E.db.actionbar.barPet.buttonsPerRow = 10 + E.db.actionbar.barPet.point = "RIGHT" + E.db.actionbar.barPet.buttonsPerRow = 1 --Datatext do @@ -2032,18 +2032,21 @@ function E:AffinitiiSetup() --The function to switch from class ElvUI settings t E.db.movers.ElvAB_1 = "BOTTOMElvUIParentBOTTOM062" --check E.db.movers.ElvAB_2 = "BOTTOMElvUIParentBOTTOM028" --check E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM26028" --check xoffset for this - E.db.movers.ElvAB_4 = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-206200" -- check this pls E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-26028" --check xoffset for this E.db.movers.DP_6_Mover = "BOTTOMElvUIParentBOTTOM04" --check E.db.movers.Top_Center_Mover = "BOTTOMElvUIParentBOTTOM-2604" --check E.db.movers.Bottom_Panel_Mover = "BOTTOMElvUIParentBOTTOM2604" --check E.db.movers.LeftChatMover = "BOTTOMLEFTUIParentBOTTOMLEFT021" --check E.db.movers.RightChatMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT021" --check - E.db.movers.PetAB = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT0200" + E.db.movers.PetAB = "RIGHTElvUIParentRIGHT00" if GetScreenWidth() < 1920 then + E.db.movers.ElvAB_4 = "BOTTOMLEFTElvUIParentBOTTOMRIGHT-380200" -- check this pls E.db.movers.ShiftAB = "BOTTOMLEFTElvUIParentBOTTOMLEFT38221" --check + E.db.movers.TotemBarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT38221" else + E.db.movers.ElvAB_4 = "BOTTOMLEFTElvUIParentBOTTOMRIGHT-412200" -- check this pls E.db.movers.ShiftAB = "BOTTOMLEFTElvUIParentBOTTOMLEFT41421" --check + E.db.movers.TotemBarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT41421" end end @@ -2234,11 +2237,10 @@ local function SetPage(PageNum) local pixel = E.PixelMode if pixel then InstallOption3Button:SetScript('OnClick', function() E:RepoocSetup() end) - InstallOption3Button:SetText(L["Repooc's Config"]) else InstallOption3Button:SetScript('OnClick', function() E:StaticPopup_Show("ELVUI_SLE_REPOOC") end) - InstallOption3Button:SetText(L["Repooc's Config"]) end + InstallOption3Button:SetText(L["Repooc's Config"]) elseif PageNum == 10 and IsAddOnLoaded("ElvUI_Hud") then --Hud's page if enabled f.SubTitle:SetText("ElvUI Hud") f.Desc1:SetText(L["Thank you for using ElvUI Hud!"]) -- 1.7.9.5