Changelog
outfitter9.1.5 to outfitter 9.1.5.1 changes
Made frame moveable and changed the frame
libdropdown-1.0.lua line 96 in function InitializeFrame(frame)
local function InitializeFrame(frame)
local backdrop = NineSliceUtil.GetLayout("TooltipDefaultLayout")
--
--frame:SetBackdrop(backdrop)
frame:SetBackdrop({
bgFile = [[Interface\Buttons\UI-SliderBar-Background]],
edgeFile = [[Interface\DialogFrame\UI-DialogBox-Border]],
tile = true,
tileSize = 32,
edgeSize = 32,
insets = { left = 12, right = 12, top = 12, bottom = 12 } })
-- if backdrop then
-- frame:SetBackdropColor(1, 1, 1, 0.8)
-- frame:SetBackdropBorderColor(0.1,0.1,0.1,0.5)
-- end
frame:SetBackdropColor(0, 0, 0, 1)
frame:EnableMouse(true)
frame:EnableMouseWheel(true)
-- Make movable/resizable
frame:SetMovable(true)
--frame:SetResizable(enable)
--frame:SetMinResize(100, 100)
frame:RegisterForDrag("LeftButton")
frame:SetScript("OnDragStart", frame.StartMoving)
frame:SetScript("OnDragStop", frame.StopMovingOrSizing)
end