Commit f13975c0 authored by Simpy's avatar Simpy 🐹

SharedMediaWidgets from ElvUI

parent f17ad209
...@@ -8,7 +8,7 @@ local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0") ...@@ -8,7 +8,7 @@ local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0")
do do
local widgetType = "LSM30_Background" local widgetType = "LSM30_Background"
local widgetVersion = 11 local widgetVersion = 12
local contentFrameCache = {} local contentFrameCache = {}
local function ReturnSelf(self) local function ReturnSelf(self)
......
...@@ -8,7 +8,7 @@ local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0") ...@@ -8,7 +8,7 @@ local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0")
do do
local widgetType = "LSM30_Border" local widgetType = "LSM30_Border"
local widgetVersion = 11 local widgetVersion = 12
local contentFrameCache = {} local contentFrameCache = {}
local function ReturnSelf(self) local function ReturnSelf(self)
......
...@@ -8,7 +8,7 @@ local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0") ...@@ -8,7 +8,7 @@ local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0")
do do
local widgetType = "LSM30_Font" local widgetType = "LSM30_Font"
local widgetVersion = 11 local widgetVersion = 12
local contentFrameCache = {} local contentFrameCache = {}
local function ReturnSelf(self) local function ReturnSelf(self)
......
...@@ -8,7 +8,7 @@ local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0") ...@@ -8,7 +8,7 @@ local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0")
do do
local widgetType = "LSM30_Sound" local widgetType = "LSM30_Sound"
local widgetVersion = 11 local widgetVersion = 12
local contentFrameCache = {} local contentFrameCache = {}
local function ReturnSelf(self) local function ReturnSelf(self)
......
...@@ -8,7 +8,7 @@ local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0") ...@@ -8,7 +8,7 @@ local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0")
do do
local widgetType = "LSM30_Statusbar" local widgetType = "LSM30_Statusbar"
local widgetVersion = 11 local widgetVersion = 12
local contentFrameCache = {} local contentFrameCache = {}
local function ReturnSelf(self) local function ReturnSelf(self)
......
...@@ -205,7 +205,7 @@ do ...@@ -205,7 +205,7 @@ do
if next(DropDownCache) then if next(DropDownCache) then
frame = table.remove(DropDownCache) frame = table.remove(DropDownCache)
else else
frame = CreateFrame("Frame", nil, UIParent) frame = CreateFrame("Frame", nil, UIParent, "BackdropTemplate")
frame:SetClampedToScreen(true) frame:SetClampedToScreen(true)
frame:SetWidth(188) frame:SetWidth(188)
frame:SetBackdrop(frameBackdrop) frame:SetBackdrop(frameBackdrop)
...@@ -235,7 +235,7 @@ do ...@@ -235,7 +235,7 @@ do
frame.ClearFrames = ClearFrames frame.ClearFrames = ClearFrames
frame.contentRepo = {} -- store all our frames in here so we can get rid of them later frame.contentRepo = {} -- store all our frames in here so we can get rid of them later
local slider = CreateFrame("Slider", nil, scrollframe) local slider = CreateFrame("Slider", nil, scrollframe, "BackdropTemplate")
slider:SetOrientation("VERTICAL") slider:SetOrientation("VERTICAL")
slider:SetPoint("TOPRIGHT", frame, "TOPRIGHT", -14, -10) slider:SetPoint("TOPRIGHT", frame, "TOPRIGHT", -14, -10)
slider:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", -14, 10) slider:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", -14, 10)
......
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