This commit is contained in:
Bunny67
2017-12-20 22:13:00 +03:00
parent ea603cba8b
commit 32b697523c
+2 -4
View File
@@ -34,10 +34,8 @@ E.version = GetAddOnMetadata("ElvUI", "Version")
E.myrealm = GetRealmName()
E.wowbuild = GetBuildInfo() E.wowbuild = tonumber(E.wowbuild)
E.resolution = GetCVar("gxResolution")
for screenwidth, screenheight in string.gfind(E.resolution, "(.+)x(.+)") do
E.screenheight = tonumber(screenheight)
E.screenwidth = tonumber(screenwidth)
end
E.screenheight = tonumber(match(E.resolution, "%d+x(%d+)"));
E.screenwidth = tonumber(match(E.resolution, "(%d+)x+%d"));
E.isMacClient = IsMacClient()
E.LSM = LSM