Files
coa-details/frames/window_mythicplus/window_mythic_breakdown.lua
T
Tercio Jose 9c63b08895 General Updates
- Fixed an error while scrolling down target npcs in the breakdown window.
- Fixed an error when clicking to open the Death Recap by Details!.
- End of Mythic Run panel got updates.
- Framework updated: new rounded tooltips.
2024-01-12 23:56:55 -03:00

30 lines
881 B
Lua

local Details = _G.Details
local Loc = _G.LibStub("AceLocale-3.0"):GetLocale( "Details" )
local SharedMedia = _G.LibStub:GetLibrary("LibSharedMedia-3.0")
local UIParent = UIParent
local addonName, Details222 = ...
local detailsFramework = DetailsFramework
local _
local mPlus = Details222.MythicPlusBreakdown
function mPlus.ShowSummary()
if (not mPlus.MainFrame) then
mPlus.CreateMainFrame()
end
end
function mPlus.CreateMainFrame()
local mPlusFrame = CreateFrame("frame", "DetailsMythicPlusBreakdownFrame", UIParent, "BackdropTemplate")
detailsFramework:AddRoundedCornersToFrame(mPlusFrame, Details.PlayerBreakdown.RoundedCornerPreset)
mPlus.MainFrame = mPlusFrame
PixelUtil.SetPoint(mPlusFrame, "center", UIParent, "center", 0, 0)
PixelUtil.SetSize(mPlusFrame, Details222.BreakdownWindow.width, Details222.BreakdownWindow.height)
end