From 0dd6e1677ab78fefaf961b99c87c7dcd30b855dc Mon Sep 17 00:00:00 2001 From: Michael Tindal Date: Mon, 6 Jul 2015 21:27:05 -0700 Subject: [PATCH] Fix the profile too. --- ElvUI_SLE/defaults/profile.lua | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/ElvUI_SLE/defaults/profile.lua b/ElvUI_SLE/defaults/profile.lua index 88d8106..5ecc289 100644 --- a/ElvUI_SLE/defaults/profile.lua +++ b/ElvUI_SLE/defaults/profile.lua @@ -20,7 +20,7 @@ P['sle'] = { ['enabled'] = false, ['trans'] = false, ['texture'] = "", - ['width'] = E.screenwidth/4 + 32, + ['width'] = (E.eyefinity or E.screenwidth)/4 + 32, ['height'] = E.screenheight/6 - 13, ['xoffset'] = 0, ['yoffset'] = 0, @@ -33,7 +33,7 @@ P['sle'] = { ['enabled'] = false, ['trans'] = false, ['texture'] = "", - ['width'] = E.screenwidth/10 - 4, + ['width'] = (E.eyefinity or E.screenwidth)/10 - 4, ['height'] = E.screenheight/5 + 11, ['xoffset'] = 0, ['yoffset'] = 0, @@ -46,7 +46,7 @@ P['sle'] = { ['enabled'] = false, ['trans'] = false, ['texture'] = "", - ['width'] = E.screenwidth/10 - 4, + ['width'] = (E.eyefinity or E.screenwidth)/10 - 4, ['height'] = E.screenheight/5 + 11, ['xoffset'] = 0, ['yoffset'] = 0, @@ -59,7 +59,7 @@ P['sle'] = { ['enabled'] = false, ['trans'] = false, ['texture'] = "", - ['width'] = E.screenwidth/4 + 32, + ['width'] = (E.eyefinity or E.screenwidth)/4 + 32, ['height'] = E.screenheight/20 + 5, ['xoffset'] = 0, ['yoffset'] = 0, @@ -90,49 +90,49 @@ P['sle'] = { ['datatext'] = { ['dp1'] = { ['enabled'] = false, - ['width'] = E.screenwidth/5, + ['width'] = (E.eyefinity or E.screenwidth)/5, ['pethide'] = true, ['alpha'] = 1, }, ['dp2'] = { ['enabled'] = false, - ['width'] = E.screenwidth/5, + ['width'] = (E.eyefinity or E.screenwidth)/5, ['pethide'] = true, ['alpha'] = 1, }, ['top'] = { ['enabled'] = false, - ['width'] = E.screenwidth/5 - 4, + ['width'] = (E.eyefinity or E.screenwidth)/5 - 4, ['pethide'] = true, ['alpha'] = 1, }, ['dp3'] = { ['enabled'] = false, - ['width'] = E.screenwidth/5, + ['width'] = (E.eyefinity or E.screenwidth)/5, ['pethide'] = true, ['alpha'] = 1, }, ['dp4'] = { ['enabled'] = false, - ['width'] = E.screenwidth/5, + ['width'] = (E.eyefinity or E.screenwidth)/5, ['pethide'] = true, ['alpha'] = 1, }, ['dp5'] = { ['enabled'] = false, - ['width'] = E.screenwidth/4 - 60, + ['width'] = (E.eyefinity or E.screenwidth)/4 - 60, ['pethide'] = true, ['alpha'] = 1, }, ['bottom'] = { ['enabled'] = false, - ['width'] = E.screenwidth/10 - 4, + ['width'] = (E.eyefinity or E.screenwidth)/10 - 4, ['pethide'] = true, ['alpha'] = 1, }, ['dp6'] = { ['enabled'] = false, - ['width'] = E.screenwidth/4 - 60, + ['width'] = (E.eyefinity or E.screenwidth)/4 - 60, ['pethide'] = true, ['alpha'] = 1, }, @@ -305,7 +305,7 @@ P['sle'] = { ['distance'] = 1, ['xaxis'] = -0.5, ['yaxis'] = 0, - ['width'] = E.screenwidth/4, + ['width'] = (E.eyefinity or E.screenwidth)/4, ['rotation'] = 0, }, ['crest'] = 128, -- 1.7.9.5