Fixes for: OpenRaidLib, Rounded Cooltip, Evoker Extra Bar and Ebon Might, Welcome Window
This commit is contained in:
+2
-1
@@ -15,7 +15,7 @@ local max = math.max
|
||||
|
||||
--api locals
|
||||
local PixelUtil = PixelUtil or DFPixelUtil
|
||||
local version = 19
|
||||
local version = 20
|
||||
|
||||
local CONST_MENU_TYPE_MAINMENU = "main"
|
||||
local CONST_MENU_TYPE_SUBMENU = "sub"
|
||||
@@ -239,6 +239,7 @@ function DF:CreateCoolTip()
|
||||
self:SetPoint("CENTER", UIParent, "CENTER", 0, 0)
|
||||
|
||||
if (not self.HaveRoundedCorners) then
|
||||
self:SetBackdrop(nil)
|
||||
DF:AddRoundedCornersToFrame(self, gameCooltip.RoundedFramePreset)
|
||||
self:DisableRoundedCorners()
|
||||
self.HaveRoundedCorners = true
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
local dversion = 503
|
||||
local dversion = 504
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary(major, minor)
|
||||
|
||||
|
||||
@@ -737,13 +737,12 @@ local getAuraDuration = function(spellId, unitId)
|
||||
--spellId = customBuffDuration or spellId --can't replace the spellId by customBuffDurationSpellId has it wount be found in LIB_OPEN_RAID_PLAYERCOOLDOWNS
|
||||
|
||||
if (bIsNewUnitAuraAvailable) then
|
||||
local bBatchCount = false
|
||||
local bUsePackedAura = true
|
||||
auraSpellID = customBuffDuration or spellId
|
||||
auraDurationTime = 0 --reset duration
|
||||
auraUnitId = unitId or "player"
|
||||
|
||||
AuraUtil.ForEachAura(auraUnitId, "HELPFUL", bBatchCount, handleBuffAura, bUsePackedAura) --check auras to find a buff for the spellId
|
||||
AuraUtil.ForEachAura(auraUnitId, "HELPFUL", nil, handleBuffAura, bUsePackedAura) --check auras to find a buff for the spellId
|
||||
|
||||
if (auraDurationTime == 0) then --if the buff wasn't found, attempt to get the duration from the file
|
||||
return LIB_OPEN_RAID_PLAYERCOOLDOWNS[spellId].duration or 0
|
||||
|
||||
@@ -43,7 +43,7 @@ if (WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE and not isExpansion_Dragonflight()) t
|
||||
end
|
||||
|
||||
local major = "LibOpenRaid-1.0"
|
||||
local CONST_LIB_VERSION = 120
|
||||
local CONST_LIB_VERSION = 121
|
||||
|
||||
if (LIB_OPEN_RAID_MAX_VERSION) then
|
||||
if (CONST_LIB_VERSION <= LIB_OPEN_RAID_MAX_VERSION) then
|
||||
|
||||
Reference in New Issue
Block a user