mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update
This commit is contained in:
@@ -6,6 +6,7 @@ local Sticky = LibStub("LibSimpleSticky-1.0");
|
||||
local _G = _G
|
||||
local type, unpack, pairs = type, unpack, pairs
|
||||
local format, split, find = string.format, string.split, string.find
|
||||
local tinsert = table.insert
|
||||
--WoW API / Variables
|
||||
local CreateFrame = CreateFrame
|
||||
|
||||
@@ -72,7 +73,7 @@ local function CreateMover(parent, name, text, overlay, snapOffset, postdrag, sh
|
||||
end
|
||||
|
||||
E.CreatedMovers[name].mover = f
|
||||
E["snapBars"][getn(E["snapBars"]) + 1] = f
|
||||
tinsert(E["snapBars"], f)
|
||||
|
||||
local fs = f:CreateFontString(nil, "OVERLAY")
|
||||
E:FontTemplate(fs)
|
||||
|
||||
+3
-3
@@ -426,9 +426,9 @@ end
|
||||
E.UIParent = CreateFrame("Frame", "ElvUIParent", UIParent)
|
||||
E.UIParent:SetFrameLevel(UIParent:GetFrameLevel())
|
||||
E.UIParent:SetPoint("CENTER", UIParent, "CENTER")
|
||||
E.UIParent:SetHeight(UIParent:GetHeight())
|
||||
E.UIParent:SetWidth(UIParent:GetWidth())
|
||||
E["snapBars"][table.getn(E["snapBars"]) + 1] = E.UIParent
|
||||
E.UIParent:SetHeight(GetScreenHeight())
|
||||
E.UIParent:SetWidth(GetScreenWidth())
|
||||
tinsert(E["snapBars"], E.UIParent)
|
||||
|
||||
E.HiddenFrame = CreateFrame("Frame")
|
||||
E.HiddenFrame:Hide()
|
||||
|
||||
Reference in New Issue
Block a user