Commit d60f86be authored by Simpy's avatar Simpy 🐹

12.17

parent b4c466b0
......@@ -1175,7 +1175,6 @@ function E:ToggleOptionsUI(msg)
buttonsHolder:Point('BOTTOMLEFT', bottom, 'TOPLEFT', 0, 1)
buttonsHolder:Point('TOPLEFT', left, 'TOPLEFT', 0, -70)
buttonsHolder:Point('BOTTOMRIGHT')
buttonsHolder:SetFrameLevel(5)
buttonsHolder:SetClipsChildren(true)
left.buttonsHolder = buttonsHolder
......@@ -1191,7 +1190,6 @@ function E:ToggleOptionsUI(msg)
slider:SetScript('OnValueChanged', ConfigSliderOnValueChanged)
slider:SetOrientation('VERTICAL')
slider:SetObeyStepOnDrag(true)
slider:SetFrameLevel(4)
slider:SetValueStep(1)
slider:SetValue(0)
slider:Width(192)
......
## Interface: 90002
## Author: Elv, Simpy
## Version: 12.16
## Version: 12.17
## Title: |cff1784d1ElvUI|r
## Notes: User Interface replacement AddOn for World of Warcraft.
## SavedVariables: ElvDB, ElvPrivateDB
......
......@@ -10,7 +10,7 @@
-- @class file
-- @name AceHook-3.0
-- @release $Id$
local ACEHOOK_MAJOR, ACEHOOK_MINOR = "AceHook-3.0", 8
local ACEHOOK_MAJOR, ACEHOOK_MINOR = "AceHook-3.0", 9
local AceHook, oldminor = LibStub:NewLibrary(ACEHOOK_MAJOR, ACEHOOK_MINOR)
if not AceHook then return end -- No upgrade needed
......@@ -478,10 +478,10 @@ function AceHook:UnhookAll()
for key, value in pairs(registry[self]) do
if type(key) == "table" then
for method in pairs(value) do
self:Unhook(key, method)
AceHook.Unhook(self, key, method)
end
else
self:Unhook(key)
AceHook.Unhook(self, key)
end
end
end
......
......@@ -7,7 +7,7 @@ local LibStub = LibStub
local gui = LibStub("AceGUI-3.0")
local reg = LibStub("AceConfigRegistry-3.0-ElvUI")
local MAJOR, MINOR = "AceConfigDialog-3.0-ElvUI", 81
local MAJOR, MINOR = "AceConfigDialog-3.0-ElvUI", 82
local AceConfigDialog, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
if not AceConfigDialog then return end
......@@ -584,6 +584,7 @@ do
frame:SetPoint("CENTER", UIParent, "CENTER")
frame:SetSize(320, 72)
frame:SetFrameStrata("TOOLTIP")
frame:SetFrameLevel(100) -- Lots of room to draw under it
frame:SetScript("OnKeyDown", function(self, key)
if key == "ESCAPE" then
self:SetPropagateKeyboardInput(false)
......@@ -597,7 +598,7 @@ do
end
end)
if WOW_PROJECT_ID == WOW_PROJECT_CLASSIC then
if not frame.SetFixedFrameStrata then -- API capability check (classic check)
frame:SetBackdrop({
bgFile = [[Interface\DialogFrame\UI-DialogBox-Background-Dark]],
edgeFile = [[Interface\DialogFrame\UI-DialogBox-Border]],
......@@ -609,6 +610,8 @@ do
else
local border = CreateFrame("Frame", nil, frame, "DialogBorderDarkTemplate")
border:SetAllPoints(frame)
frame:SetFixedFrameStrata(true)
frame:SetFixedFrameLevel(true)
end
local text = frame:CreateFontString(nil, "ARTWORK", "GameFontHighlight")
......
--[[-----------------------------------------------------------------------------
Frame Container
-------------------------------------------------------------------------------]]
local Type, Version = "Frame", 27
local Type, Version = "Frame", 28
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end
......@@ -83,6 +83,7 @@ local methods = {
["OnAcquire"] = function(self)
self.frame:SetParent(UIParent)
self.frame:SetFrameStrata("FULLSCREEN_DIALOG")
self.frame:SetFrameLevel(100) -- Lots of room to draw under it
self:SetTitle()
self:SetStatusText()
self:ApplyStatus()
......@@ -186,6 +187,7 @@ local function Constructor()
frame:SetMovable(true)
frame:SetResizable(true)
frame:SetFrameStrata("FULLSCREEN_DIALOG")
frame:SetFrameLevel(100) -- Lots of room to draw under it
frame:SetBackdrop(FrameBackdrop)
frame:SetBackdropColor(0, 0, 0, 1)
frame:SetMinResize(400, 200)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment