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.
This commit is contained in:
@@ -87,7 +87,7 @@ local updateTargetBar = function(targetBar, index, combatObject, scrollFrame, he
|
||||
targetBar.statusBar:SetStatusBarColor(1, 1, 1, 1)
|
||||
|
||||
local platerNameplates = _G.Plater
|
||||
if (platerNameplates) then
|
||||
if (platerNameplates and targetActorObject) then
|
||||
local npcId = tonumber(targetActorObject.aID)
|
||||
if (npcId) then
|
||||
local platerProfile = platerNameplates.db.profile
|
||||
|
||||
@@ -105,6 +105,9 @@ local PLAYER_DETAILS_WINDOW_HEIGHT = 620
|
||||
local PLAYER_DETAILS_STATUSBAR_HEIGHT = 20
|
||||
local PLAYER_DETAILS_STATUSBAR_ALPHA = 1
|
||||
|
||||
Details222.BreakdownWindow.width = PLAYER_DETAILS_WINDOW_WIDTH
|
||||
Details222.BreakdownWindow.height = PLAYER_DETAILS_WINDOW_HEIGHT
|
||||
|
||||
---@type button[]
|
||||
Details.player_details_tabs = {}
|
||||
---@type button[]
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user