Fixed small bugs
This commit is contained in:
+19
@@ -343,6 +343,25 @@ function Details:StartMeUp()
|
||||
|
||||
--check is this is the first run of this version
|
||||
if (Details.is_version_first_run) then
|
||||
local breakdownData = Details.breakdown_spell_tab
|
||||
if (breakdownData) then
|
||||
local spellContainerHeaders = breakdownData.spellcontainer_headers
|
||||
if (spellContainerHeaders) then
|
||||
if (spellContainerHeaders.overheal) then
|
||||
spellContainerHeaders.overheal.enabled = true
|
||||
spellContainerHeaders.overheal.width = 70
|
||||
end
|
||||
end
|
||||
|
||||
local targetContainerHeaders = breakdownData.targetcontainer_headers
|
||||
if (targetContainerHeaders) then
|
||||
if (targetContainerHeaders.overheal) then
|
||||
targetContainerHeaders.overheal.enabled = true
|
||||
targetContainerHeaders.overheal.width = 70
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local lowerInstanceId = Details:GetLowerInstanceNumber()
|
||||
if (lowerInstanceId) then
|
||||
lowerInstanceId = Details:GetInstance(lowerInstanceId)
|
||||
|
||||
Reference in New Issue
Block a user